Contents

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 MTLDynamicLibrary

Parameters

  • 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.