Skip to main content

Module platform

Module platform 

Source
Expand description

The shader Platform selector: which shader source language the running backend consumes. Pure (no I/O, cfg-resolved), so it sits in the runtime foundation rather than the build module – the engine picks a Shader stage’s current-platform source at runtime, and the build pipeline reuses the same selection at compile time.

Enums§

Platform
Shader source language families supported by the engine. Each variant matches one render backend: Metal, HLSL (DirectX), or GLSL (Vulkan).