Enumeration

MDLIndexBitDepth

Options for the size of integer data in a submesh’s index buffer, used by the indexType property.

Declaration

enum MDLIndexBitDepth : UInt

Overview

For optimum performance, an index buffer should generally use the smallest data type that fits the number of indices it contains.

Topics

Constants

case invalid

The submesh has not been initialized or its data type is unknown.

case uInt8

Each index in the submesh’s index buffer is an 8-bit integer.

case uInt16

Each index in the submesh’s index buffer is a 16-bit integer.

case uInt32

Each index in the submesh’s index buffer is a 32-bit integer.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software