|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The mode each view asked for. A view that never asked is Shaded, which is why a frame with nothing set costs a hash lookup per collect and nothing else. More...
#include <ViewShading.hpp>
Public Member Functions | |
| void | set (u32 view, ShadingMode mode) |
| ShadingMode | get (u32 view) const |
| usize | count () const |
| Views holding a non-default mode, for a criterion that checks nothing leaked. | |
| void | setWeights (u32 view, Entity entity, u32 joint) |
Colour entity in view by how much joint moves each vertex; an invalid entity stops. | |
| WeightTarget | weights (u32 view) const |
The mode each view asked for. A view that never asked is Shaded, which is why a frame with nothing set costs a hash lookup per collect and nothing else.
Definition at line 64 of file ViewShading.hpp.
|
inline |
Views holding a non-default mode, for a criterion that checks nothing leaked.
Definition at line 77 of file ViewShading.hpp.
|
inline |
Definition at line 71 of file ViewShading.hpp.
References esengine::Shaded.
|
inline |
Definition at line 66 of file ViewShading.hpp.
References esengine::Shaded.
Colour entity in view by how much joint moves each vertex; an invalid entity stops.
Definition at line 80 of file ViewShading.hpp.
References esengine::INVALID_ENTITY.
|
inline |
Definition at line 85 of file ViewShading.hpp.