Contents

mesh

The parent mesh containing the vertex data of this submesh.

Declaration

weak var mesh: MTKMesh? { get }

Discussion

The buffer of this parent mesh should be set in the encoder before a call to drawIndexedPrimitives(type:indexCount:indexType:indexBuffer:indexBufferOffset:) is made.