Rebel Fork Framework
Urho3D::BakedLightMemoryCache Class Reference

Memory lightmap cache. More...

#include <Urho3D/Glow/BakedLightCache.h>

Inheritance diagram for Urho3D::BakedLightMemoryCache:
Urho3D::BakedLightCache

Public Member Functions

void StoreBakedChunk (const IntVector3 &chunk, BakedSceneChunk bakedChunk) override
 Store baked scene chunk in the cache.
 
ea::shared_ptr< const BakedSceneChunkLoadBakedChunk (const IntVector3 &chunk) override
 Load baked scene chunk.
 
void StoreDirectLight (unsigned lightmapIndex, LightmapChartBakedDirect bakedDirect) override
 Store direct light for the lightmap chart.
 
ea::shared_ptr< const LightmapChartBakedDirectLoadDirectLight (unsigned lightmapIndex) override
 Load direct light for the lightmap chart.
 
void StoreLightmap (unsigned lightmapIndex, BakedLightmap bakedLightmap) override
 Store baked lightmap.
 
ea::shared_ptr< const BakedLightmapLoadLightmap (unsigned lightmapIndex) override
 Load baked lightmap.
 
- Public Member Functions inherited from Urho3D::BakedLightCache
virtual ~BakedLightCache ()
 Destruct.
 

Private Attributes

ea::unordered_map< IntVector3, ea::shared_ptr< const BakedSceneChunk > > bakedChunkCache_
 Baking contexts cache.
 
ea::unordered_map< unsigned, ea::shared_ptr< const LightmapChartBakedDirect > > directLightCache_
 Direct light cache.
 
ea::unordered_map< unsigned, ea::shared_ptr< const BakedLightmap > > lightmapCache_
 Baked lightmaps.
 

Detailed Description

Memory lightmap cache.


The documentation for this class was generated from the following files: