Contents

indexType

The type of index data in the index buffer.

Declaration

var indexType: MTLIndexType { get }

Discussion

Use this value for the indexType parameter in a call to drawIndexedPrimitives(type:indexCount:indexType:indexBuffer:indexBufferOffset:).

See Also

Properties used to Draw Indexed Primitives