A basic allocator implementation that allocates from main memory using data objects.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Model I/O
Model I/O uses this allocator by default if you do not specify an allocator when loading, creating, or modifying objects that require mesh buffer storage (for example, when loading an asset with the
init(url: initializer). Use this allocator only if sharing mesh buffer memory with GPU-based renderers is not a concern. To minimize data copying when rendering with Metal or OpenGL, use the
GLKMesh class instead.This class declares no methods or properties of its own. For the key functionality of all mesh buffer allocator objects, see