device
The device object that created the sampler.
Declaration
var device: any MTLDevice { get }Discussion
A sampler is always associated with the MTLDevice that created it and can be used only with that device.
The device object that created the sampler.
var device: any MTLDevice { get }A sampler is always associated with the MTLDevice that created it and can be used only with that device.