device
The device object that created the resource.
Declaration
var device: any MTLDevice { get }Discussion
A resource can only be used with the MTLDevice that created it.
See Also
Related Documentation
- Metal Shading Language Guide
- Metal Programming Guide