Enumeration

MTLLibraryError.Code

Error codes returned by Metal for library errors.

Declaration

enum MTLLibraryError.Code : UInt, _ErrorCodeProtocol

Topics

Errors

case unsupported

The action was unsupported.

case `internal`

The action caused an internal error.

case compileFailure

The library or function failed to compile.

case compileWarning

The library or function compiled successfully, but generated warnings.

case fileNotFound

The specified .metal file was not found.

case functionNotFound

The specified Metal function was not found.

See Also

Handling Errors

struct MTLLibraryError

Errors returned by Metal for library errors.

let MTLLibraryErrorDomain: String

The error domain for Metal libraries.