Contents

indexType

The size of each index in the index buffer.

Declaration

var indexType: MTLIndexType { get set }

Discussion

Set this property to a value that reflects the size of the indices in the indexBuffer property, such as MTLIndexType.uint16 or MTLIndexType.uint32.