Instance Property

device

The device from which this command buffer was created.

Required.

Declaration

var device: MTLDevice { get }

Discussion

The command buffer can only be used with this device.

See Also

Identifying the Command Buffer

var commandQueue: MTLCommandQueue

The command queue that created the command buffer.

Required.

var label: String?

A string that identifies this object.

Required.