Contents

device

The Metal device object that created the library.

Declaration

var device: any MTLDevice { get }

Discussion

You can only use the library with this MTLDevice.

See Also

Identifying the library