Class

MTKMeshBufferAllocator

An interface for allocating a MetalKit buffer that backs the vertex data of a Model I/O mesh, suitable for use in a Metal app.

Declaration

@interface MTKMeshBufferAllocator : NSObject

Topics

Initialization

- initWithDevice:

Initializes a new allocator object.

Device

device

The device used to create Metal objects.

Relationships

Inherits From

See Also

Model Handling

MTKMesh

A container for the vertex data of a Model I/O mesh, suitable for use in a Metal app.

MTKMeshBuffer

A buffer that backs the vertex data of a Model I/O mesh, suitable for use in a Metal app.

MTKSubmesh

A container for the index data of a Model I/O submesh, suitable for use in a Metal app.

Conversion Functions

Convert between Metal and Model I/O vertex representations.

Model Errors

Learn about errors thrown by model handling methods.