Contents

instanceDescriptorBufferOffset

The offset, in bytes, to the descripton of the first instance.

Declaration

var instanceDescriptorBufferOffset: Int { get set }

Discussion

The offset needs to be a multiple of 64 bytes. Check the Metal feature set tables (PDF) for potential alignment restrictions.

See Also

Specifying the list of instances