device The Metal device object to use to back the virtual graphics device. Declarationvar device: (any MTLDevice)? { get set }