Instance Property

device

The device from which this command buffer was created.

Required.

Declaration

@property(readonly) id<MTLDevice> device;

Discussion

The command buffer can only be used with this device.

See Also

Identifying the Command Buffer

commandQueue

The command queue that created the command buffer.

Required.

label

A string that identifies this object.

Required.