Instance Property

device

The device object that created the fence.

Required.

Declaration

@property(readonly) id<MTLDevice> device;

Discussion

A fence is always associated with the MTLDevice that created it and can be used only with that device.

See Also

Identifying the Fence

label

A string that identifies the fence.

Required.