makeLibrary(descriptor:)
Creates a new Metal library synchronously.
Declaration
func makeLibrary(descriptor: MTL4LibraryDescriptor) throws -> any MTLLibraryParameters
- descriptor:
A description of the library to create.
Return Value
A Metal library instance upon success, nil otherwise.