Contents

init(url:)

Creates a new Metal shader library from the contents of url, which must be the location of precompiled Metal library. Functions compiled from the returned library will only be cached as long as the returned library exists.

Declaration

init(url: URL)

See Also

Creating a shader library