Skip to main content

Module platform

Module platform 

Source
Expand description

The shader Platform vocabulary: which compiled shader form a rendering backend consumes. The enum is pure data with no ambient resolution of its own, so it sits in the runtime foundation and every caller states the platform it means – the engine names the backend it was built for, and the build pipeline is told the backend it cooks for.

Enums§

Platform
The shader targets the engine compiles for. Each variant matches one render backend: Metal (MSL), DirectX (DXIL), or Vulkan (SPIR-V).