Accumulated light for forward rendering.
More...
#include <Urho3D/RenderPipeline/LightAccumulator.h>
|
using | LightData = ea::pair< float, unsigned > |
|
using | LightContainer = ea::fixed_vector< LightData, NumElements > |
|
using | VertexLightContainer = ea::array< unsigned, MaxVertexLights > |
|
|
|
static const unsigned | MaxPixelLights = 4 |
|
static const unsigned | MaxVertexLights = 4 |
|
static const unsigned | NumElements = ea::max(MaxPixelLights + 1, 4u) + MaxVertexLights |
|
|
LightContainer | lights_ |
| Container with per-pixel and per-vertex lights.
|
|
unsigned | numImportantLights_ {} |
|
unsigned | numAutoLights_ {} |
|
unsigned | firstVertexLight_ {} |
|
unsigned | vertexLightsHash_ {} |
| Hash of vertex lights. Non-zero.
|
|
Accumulated light for forward rendering.
◆ GetVertexLights()
VertexLightContainer Urho3D::LightAccumulator::GetVertexLights |
( |
| ) |
const |
|
inline |
Return light info, valid after cooking
◆ MaxPixelLights
const unsigned Urho3D::LightAccumulator::MaxPixelLights = 4 |
|
static |
Hints used for small buffer optimization
The documentation for this struct was generated from the following file:
- Urho3D/RenderPipeline/LightAccumulator.h