Instance Property

indexType

The data type for each element in the submesh’s index buffer.

Declaration

@property(nonatomic, readonly) MDLIndexBitDepth indexType;

Discussion

For optimum performance, an index buffer should generally use the smallest possible data type to fit its number of indices.

See Also

Working with a Submesh’s Index Buffer

indexBuffer

An object that provides index data for the submesh.

indexCount

The number of indices in the submesh’s index buffer.

geometryType

The type of geometric primitives described by the submesh’s index buffer.

topology

A description of how the non-uniform layout of the submesh’s index buffer defines the shape of the mesh.