dao::lights::ProbeLight

struct

One light state’s light probe, as the engine has just handed it the probe’s irradiance.

Declared in dao/Lights.h.

Fields

Field Type  
chosen Chosen = Chosen::Unknown Which chooser last chose the state’s lights.
irradiance std::span<float, 48> The probe’s irradiance, three 4x4 matrices for red, green and blue, as the shaders are handed them (g_mLightParams). A callback may change them; the engine copies them from the probe afresh for each fill while any OnProbe callback is added, so a change lasts this fill alone.
model std::wstring_view The name of the model the probe is part of: a room’s <level><x><y>_<d>_ll, or a figure rig’s (outside_day_rig). Lasts the call alone.
probe std::uintptr_t = 0 The probe’s node, the same each frame for the same probe.
state std::uintptr_t = 0 The light state, the same each frame for the same object; for telling objects apart.