Instance Property

device

The device object that created the resource.

Required.

Declaration

@property(readonly) id<MTLDevice> device;

Discussion

A resource can only be used with the MTLDevice that created it.

See Also

Identifying the Resource

label

A string that identifies the resource.

Required.