Manages light parameters, lit geometries, shadow splits and shadow casters.
More...
#include <Urho3D/RenderPipeline/LightProcessor.h>
|
static const unsigned | NumSplitFramesToLive = 600 |
| Number of frames for shadow splits expiration.
|
|
Manages light parameters, lit geometries, shadow splits and shadow casters.
◆ GetForwardLitHash()
unsigned Urho3D::LightProcessor::GetForwardLitHash |
( |
| ) |
const |
|
inline |
Return pipeline state hashes
◆ GetLight()
Light * Urho3D::LightProcessor::GetLight |
( |
| ) |
const |
|
inline |
Return values are always valid
◆ GetLitGeometries()
const ea::vector< Drawable * > & Urho3D::LightProcessor::GetLitGeometries |
( |
| ) |
const |
|
inline |
Return values are valid after threaded update
◆ GetSplit()
Return values are valid after update is finished
◆ InitializeShadowSplits()
void Urho3D::LightProcessor::InitializeShadowSplits |
( |
DrawableProcessor * |
drawableProcessor | ) |
|
|
private |
◆ cameraIsInsideLightVolume_
bool Urho3D::LightProcessor::cameraIsInsideLightVolume_ {} |
|
private |
◆ forwardLitBatchHash_
unsigned Urho3D::LightProcessor::forwardLitBatchHash_ {} |
|
private |
◆ isShadowRequested_
bool Urho3D::LightProcessor::isShadowRequested_ {} |
|
private |
Parameters extracted from light settings
◆ litGeometries_
ea::vector<Drawable*> Urho3D::LightProcessor::litGeometries_ |
|
private |
Point and spot lights: only forward lit geometries. Directional lights: all lit geometries, for shadow focusing.
◆ shadowCasterCandidates_
ea::vector<Drawable*> Urho3D::LightProcessor::shadowCasterCandidates_ |
|
private |
Point and spot lights: all possible shadow casters. Directional lights: temporary buffer for split queries.
The documentation for this class was generated from the following files:
- Urho3D/RenderPipeline/LightProcessor.h
- Urho3D/RenderPipeline/LightProcessor.cpp