MTLDevice.newLibraryWithSource

Synchronously creates a Metal library instance by compiling the functions in a source string.

interface MTLDevice
@nogc nothrow
@selector("newLibraryWithSource:options:error:")
newLibraryWithSource
(
NSString source
,,
NSError* error = null
)

Meta