|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Which lights reached the frame, and who was turned away. More...


Go to the source code of this file.
Classes | |
| struct | esengine::LightGrant |
| One light that asked to be in the frame, and what it was told. More... | |
| struct | esengine::LightCapReport |
| What the frame's light cap came to. More... | |
Namespaces | |
| namespace | esengine |
Enumerations | |
| enum class | esengine::LightRefusal : u8 { esengine::None = 0 , esengine::Capacity , esengine::NoEnvironmentSun } |
| Why a light did not reach the frame. More... | |
Functions | |
| const char * | esengine::lightRefusalName (LightRefusal why) |
| The refusal as a word, for a log line and for a reader. | |
Which lights reached the frame, and who was turned away.
The cap logged a COUNT and dropped the rest. "Three lights exceed the cap" tells a creator that something went dark and not which thing, so the only way to find out was to delete lights until one came back.
Named alongside ShadowPlanReport rather than folded into it: they are two different contentions over two different resources, and a light that lost its shadow tile is still lighting the scene.
Definition in file LightPlan.hpp.