Rebel Fork Framework
|
Cache of light processors. More...
#include <Urho3D/RenderPipeline/LightProcessor.h>
Classes | |
struct | CachedLightProcessor |
Public Member Functions | |
void | SetSettings (const LightProcessorCacheSettings &settings) |
void | Update (float timeStep) |
LightProcessor * | GetLightProcessor (Light *light) |
Should be called on every frame to notify LRU cache. | |
Private Types | |
using | CacheMap = ea::unordered_map< WeakPtr< Light >, CachedLightProcessor > |
Private Attributes | |
LightProcessorCacheSettings | settings_ |
float | timeAccumulator_ {} |
unsigned | currentGeneration_ {} |
CacheMap | cache_ |
Additional Inherited Members | |
Protected Member Functions inherited from Urho3D::NonCopyable | |
NonCopyable (const NonCopyable &other)=delete | |
NonCopyable (NonCopyable &&other)=delete | |
NonCopyable & | operator= (const NonCopyable &other)=delete |
NonCopyable & | operator= (NonCopyable &&other)=delete |
Cache of light processors.