makeDynamicLibrary(url:)
Creates a new dynamic library from the contents of a file at an URL location synchronously.
Declaration
func makeDynamicLibrary(url: URL) throws -> any MTLDynamicLibraryParameters
- url:
An URL referencing a file whose contents this compiler uses to build a dynamic library.
Return Value
A new dynamic Metal library upon success, nil otherwise.