init(data:)
Creates a new Metal shader library from data, which must be the contents of precompiled Metal library. Functions compiled from the returned library will only be cached as long as the returned library exists.
Declaration
init(data: Data)