Core type definitions and utilities for ESEngine.
constexpr const char * LIGHTMAP_SAMPLER
The baked-light atlas, and the unit a lightmapped mesh samples it from.
constexpr const char * MORPH_DELTA_SAMPLER
The sampler a mesh's morph deltas arrive through, and the unit it is pinned to.
constexpr u32 SHADOW_2D_TEXTURE_UNIT
constexpr const char * PROBE_GRID_SAMPLER
The frame's probe atlas, read per pixel, on the bake's unit.
constexpr u32 LIGHTMAP_TEXTURE_UNIT
constexpr u32 SHADOW_MAP_TEXTURE_UNIT
constexpr u32 WATER_SUN_TEXTURE_UNIT
constexpr u32 MORPH_DELTA_TEXTURE_UNIT
constexpr const char * WATER_SUN_SAMPLER
constexpr const char * SHADOW_MAP_SAMPLER
The injected shadow-map sampler, and the texture unit Shader::compile pins it to.
constexpr const char * SHADOW_2D_SAMPLER
The 2D shadow mask, and the texture unit every Lit shader samples it from.
constexpr const char * ENV_MAP_SAMPLER
The injected reflection sampler, one unit past the shadow map's.
std::uint32_t u32
Unsigned 32-bit integer.
constexpr u32 SHAPE_2D_TEXTURE_UNIT
constexpr u32 ENV_MAP_TEXTURE_UNIT
constexpr const char * SHAPE_2D_SAMPLER
The 2D light-shape mask, and the unit below the shadow mask's.