Contents

indexBufferOffset

The offset, in bytes, to the first index in the buffer.

Declaration

var indexBufferOffset: Int { get set }

Discussion

The offset needs to be a multiple of the index data type size and aligned to the index data type’s alignment. Check the Metal feature set tables (PDF) for potential alignment restrictions.

See Also

Configuring index data