library
The Metal shader library containing shader functions to be used by this program.
Declaration
var library: (any MTLLibrary)? { get set }Discussion
If this property’s value is nil (the default), SceneKit loads shader functions from the default Metal library. Change this value if you have compiled a separate .metallib file for the shader functions you wish to use.