Provides direct, read-only access to the buffer’s contents.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Model I/O
A data object mapped to the storage memory for the buffer.
The buffer’s storage remains mapped for as long as the returned
MDLMesh object exists, potentially restricting other uses of that storage. For example, if a buffer’s storage is shared with GPU memory, that buffer may be unavailable for use in rendering until the
MDLMesh object is deallocated.