Model Errors

Errors that may be thrown by model handling methods.

Topics

Error Constants

MTKModelErrorDomain

The error domain used by MetalKit when returning mesh initialization errors.

MTKModelErrorKey

The key used to retrieve an error string from and error object’s userInfo dictionary.

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.

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.

MTKSubmesh

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

Conversion Functions

Functions for converting between Metal and Model I/O vertex representations.