Instance Property

device

The Metal device from which the command encoder was created.

Required.

Declaration

var device: MTLDevice { get }

Discussion

This command encoder can only be used with this MTLDevice.

See Also

Identifying the Command Encoder

var label: String?

A string that labels the command encoder.

Required.