metalDevice

If device type is Metal then returns the corresponding MTLDevice else nil.

Declaration

var metalDevice: (any MTLDevice)? { get }