Enumeration

MTLLibraryError

Error codes returned by Metal for library errors.

Declaration

typedef enum MTLLibraryError : NSUInteger {
    ...
} MTLLibraryError;

Topics

Errors

MTLLibraryErrorUnsupported

The action was unsupported.

MTLLibraryErrorInternal

The action caused an internal error.

MTLLibraryErrorCompileFailure

The library or function failed to compile.

MTLLibraryErrorCompileWarning

The library or function compiled successfully, but generated warnings.

MTLLibraryErrorFileNotFound

The specified .metal file was not found.

MTLLibraryErrorFunctionNotFound

The specified Metal function was not found.

See Also

Handling Errors

MTLLibraryErrorDomain

The error domain for Metal libraries.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software