Instance Method

indexBufferAsIndexType:

No overview available.

Declaration

- (id<MDLMeshBuffer>)indexBufferAsIndexType:(MDLIndexBitDepth)indexType;

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.

indexType

The data type for each element 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.

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