Contents

instanceDescriptorStride

Sets the stride, in bytes, between instance descriptors the instance descriptor buffer references.

Declaration

var instanceDescriptorStride: Int { get set }

Discussion

You are responsible for ensuring this stride is at least the size of the structure type corresponding to the instance descriptor type and a multiple of 4 bytes.

Defaults to 0, indicating the instance descriptors are tightly packed.