makeDynamicLibrary(library:)
Creates a new dynamic library from a library containing Metal IR code synchronously.
Declaration
func makeDynamicLibrary(library: any MTLLibrary) throws -> any MTLDynamicLibraryParameters
- library:
A library from which this compiler creates the new a dynamic library
Return Value
A new dynamic Metal library upon success, nil otherwise.