MDLSubmesh
A container for index buffer data and material information to be used in rendering all or part of a 3D object.
Declaration
class MDLSubmeshOverview
Submeshes are contained in MDLMesh objects, which provide vertex buffer data that a submesh’s index data refers to. Together, the vertex and index data describe the geometric form of a portion of the mesh, and the submesh’s material property determines its intended surface appearance for rendering.
Topics
Creating a Submesh
init(indexBuffer:indexCount:indexType:geometryType:material:)init(name:indexBuffer:indexCount:indexType:geometryType:material:)init(name:indexBuffer:indexCount:indexType:geometryType:material:topology:)init(mdlSubmesh:indexType:geometryType:)