Instance Property

device

The Metal device from which the pipeline state was created.

Required.

Declaration

var device: MTLDevice { get }

Discussion

This compute state can only be used with this MTLDevice.

See Also

Identifying Properties

var label: String?

A string that identifies the compute pipeline state object.

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