LowLevelMeshInstance
A single drawable object pairing a mesh part with a compiled pipeline state, optional per-draw argument tables, a transform, and a sort category.
Declaration
final class LowLevelMeshInstanceOverview
Create a LowLevelMeshInstance using makeMeshInstance(meshPart:pipeline:geometryArguments:surfaceArguments:lightingArguments:transform:sortCategory:).
Transform, bounds, sort category, and triangle fill mode can be updated after creation; the renderer picks up changes automatically before the next render(using:_:) call.
To draw multiple copies of the mesh in a single draw call, assign a LowLevelInstanceTransformResource via setInstanceTransforms(_:).