Contents

MTKSubmesh

A container for the index data of a Model I/O submesh, suitable for use in a Metal app.

Declaration

class MTKSubmesh

Overview

The MTKSubmesh class provides a container for a segment of mesh data that can be rendered in a single draw call. A submesh can only be initialized as part of a MTKMesh object. Each submesh contains an index buffer with which the parent’s mesh data can be rendered. Actual submesh vertex data resides in the submesh’s parent mesh. For more information on Model I/O submeshes, see MDLSubmesh.

Topics

Parent Mesh

Properties used to Draw Indexed Primitives

Identifying Properties

See Also

Model Handling