device
The device object that created the shader function.
Declaration
var device: any MTLDevice { get }Discussion
You can only use this function object with this MTLDevice.
See Also
Related Documentation
- Metal Shading Language Guide
- Metal Programming Guide