Contents

indexType

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

Declaration

var indexType: MDLIndexBitDepth { get }

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