Contents

MDLMeshBufferMap

An object that manages access to a memory buffer used for the data storage of a Model I/O mesh.

Declaration

class MDLMeshBufferMap

Overview

Typically, you do not create MDLMeshBufferMap objects directly. Instead, you use classes supporting the MDLMeshBuffer protocol to manage mesh buffer memory shared with a rendering technology—for example, the MTKMeshBuffer class for rendering with Metal. A mesh buffer object vends a MDLMeshBufferMap objects when you use the map() method to gain temporary access to the shared memory.

Topics

Creating a Buffer Map

Accessing Buffer Data

See Also

Managing Mesh Data