58static_assert(
sizeof(ProbeConstants) == 16 *
PROBE_TEXELS,
59 "ProbeConstants must be a tight array of vec4 to match std140");
Core type definitions and utilities for ESEngine.
constexpr u32 PROBE_CONSTANTS_BINDING
Indexed UBO binding point for the per-draw ProbeConstants block.
constexpr const char * PROBE_CONSTANTS_BLOCK
GLSL block name; must match the injected Lit header + Shader::compile lookup.
constexpr u32 PROBE_MAX_INSTANCES
How many instances of one merged draw carry their own irradiance.
std::uint32_t u32
Unsigned 32-bit integer.
constexpr u32 PROBE_BLOCK_BYTES
Bytes the block is declared with: every run, then one vec4 that is not data.
constexpr u32 PROBE_TEXELS
Texels one instance's indirect light occupies in that block.
The indirect light one instance stands in — both halves of it.