Instance Property

device

The device object that created the library.

Required.

Declaration

@property(readonly) id<MTLDevice> device;

Discussion

The library can be used only with this MTLDevice.

See Also

Identifying the Library

label

A string that identifies the library.

Required.