Instance Property

device

The device object that created the argument encoder.

Required.

Declaration

var device: MTLDevice { get }

Discussion

The encoder can only be used with the MTLDevice that created it.

See Also

Identifying the Argument Encoder

var label: String?

A string that identifies the argument buffer.

Required.