Manual
Programming Reference
enum MetalPlatform : u8 { macos= 0 ios= 1 }
Specifies the intended running platform for one metal shader.
macos
The shader is intended to be running on macOS.
ios
The shader is intended to be running on iOS.