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.
The device object that created the resource.
var device: any MTLDevice { get }A resource can only be used with the MTLDevice that created it.