declare function MPSSupportsMTLDevice(device: MTLDevice): boolean;