|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The frame's whole shadow allocation, as numbers something outside it can check. More...
#include <ShadowPlan.hpp>
Public Member Functions | |
| void | clear () |
| u32 | deniedCasters () const |
| const ShadowGrant * | grantFor (Entity entity) const |
What entity asked for and kept, or null when it asked nothing. | |
| bool | hasSameDenial (const ShadowGrant &claim) const |
| Whether this report already contains the same denied claim. | |
| u32 | reducedCasters () const |
Public Attributes | |
| u32 | atlasSize = 0 |
| u32 | cellSize = 0 |
| u32 | requestedTiles = 0 |
| u32 | grantedTiles = 0 |
| std::vector< ShadowGrant > | grants |
The frame's whole shadow allocation, as numbers something outside it can check.
Definition at line 48 of file ShadowPlan.hpp.
|
inline |
Definition at line 55 of file ShadowPlan.hpp.
References grantedTiles, grants, and requestedTiles.
|
inline |
Definition at line 61 of file ShadowPlan.hpp.
References grants.
Referenced by esengine::renderer_shadowStatus().
|
inline |
What entity asked for and kept, or null when it asked nothing.
Definition at line 68 of file ShadowPlan.hpp.
References grants, and esengine::Entity::raw.
Referenced by hasSameDenial(), and esengine::renderer_shadowStatus().
|
inline |
Whether this report already contains the same denied claim.
Definition at line 76 of file ShadowPlan.hpp.
References esengine::ShadowGrant::denied(), grantFor(), esengine::ShadowGrant::light, esengine::ShadowGrant::refusal, and esengine::ShadowGrant::requested.
|
inline |
Definition at line 82 of file ShadowPlan.hpp.
References grants.
Referenced by esengine::renderer_shadowStatus().
| u32 esengine::ShadowPlanReport::atlasSize = 0 |
Definition at line 49 of file ShadowPlan.hpp.
| u32 esengine::ShadowPlanReport::cellSize = 0 |
Definition at line 50 of file ShadowPlan.hpp.
| u32 esengine::ShadowPlanReport::grantedTiles = 0 |
Definition at line 52 of file ShadowPlan.hpp.
Referenced by clear().
| std::vector<ShadowGrant> esengine::ShadowPlanReport::grants |
Definition at line 53 of file ShadowPlan.hpp.
Referenced by clear(), deniedCasters(), grantFor(), and reducedCasters().
| u32 esengine::ShadowPlanReport::requestedTiles = 0 |
Definition at line 51 of file ShadowPlan.hpp.
Referenced by clear().