device
The device from which this state object was created.
Declaration
var device: any MTLDevice { get }Discussion
This state object can only be used with this device.
See Also
Related Documentation
- Metal Shading Language Guide
- Metal Programming Guide