Core type definitions and utilities for ESEngine.
constexpr const char * MATERIAL_CONSTANTS_BLOCK
GLSL block name; must match ShaderParser's generated block + Shader::compile lookup.
constexpr u32 MATERIAL_TEXTURE_UNIT_BASE
First sampler unit a material texture parameter may use (batch owns units 0..7).
constexpr u32 kGBufferUnit
The unit a PostProcess pass reads the scene's surface record at: what a surface IS — octahedral norma...
constexpr u32 kSceneDepthUnit
The unit a PostProcess pass reads the scene's DEPTH at.
constexpr u32 MATERIAL_CONSTANTS_BINDING
Indexed UBO binding point for the per-material MaterialConstants block.
std::uint32_t u32
Unsigned 32-bit integer.