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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software