The type of geometric primitives described by the submesh’s index buffer.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
This property determines how the sequence of indices in the submesh’s index buffer should be interpreted for rendering. For example, if the geometry type is
MDLGeometryTypeTriangles, each triangle to be rendered comes from an independent set of three indices, but if the geometry type is
MDLGeometryTypeTriangleStrips, triangles to be rendered can come from overlapping sets of indices in the sequence. If the geometry type is
topology property describes the non-uniform layout of the index buffer.
Working with a Submesh’s Index Buffer
An object that provides index data for the submesh.
The number of indices in the submesh’s index buffer.
The data type for each element in the submesh’s index buffer.
A description of how the non-uniform layout of the submesh’s index buffer defines the shape of the mesh.
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