Contents

indexType

The data type of indices in the index buffer.

Declaration

var indexType: MTLIndexType { get set }

Discussion

The index type needs to be MTLIndexType.uint16 or MTLIndexType.uint32. The default is MTLIndexType.uint32.

See Also

Configuring index data