An object that manages access to a memory buffer used for the data storage of a Model I/O mesh.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
Typically, you do not create
MDLMesh objects directly. Instead, you use classes supporting the
MDLMesh protocol to manage mesh buffer memory shared with a rendering technology—for example, the
MTKMesh class for rendering with Metal. A mesh buffer object vends a
MDLMesh objects when you use the
map() method to gain temporary access to the shared memory.