metalDevice
If device type is Metal then returns the corresponding MTLDevice else nil.
Declaration
var metalDevice: (any MTLDevice)? { get }If device type is Metal then returns the corresponding MTLDevice else nil.
var metalDevice: (any MTLDevice)? { get }