|
Rebel Fork Framework
|
Memory lightmap cache. More...
#include <Urho3D/Glow/BakedLightCache.h>
Public Member Functions | |
| void | StoreBakedChunk (const IntVector3 &chunk, BakedSceneChunk bakedChunk) override |
| Store baked scene chunk in the cache. | |
| ea::shared_ptr< const BakedSceneChunk > | LoadBakedChunk (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 LightmapChartBakedDirect > | LoadDirectLight (unsigned lightmapIndex) override |
| Load direct light for the lightmap chart. | |
| void | StoreLightmap (unsigned lightmapIndex, BakedLightmap bakedLightmap) override |
| Store baked lightmap. | |
| ea::shared_ptr< const BakedLightmap > | LoadLightmap (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. | |
Memory lightmap cache.
|
overridevirtual |
Load baked scene chunk.
Implements Urho3D::BakedLightCache.
|
overridevirtual |
Load direct light for the lightmap chart.
Implements Urho3D::BakedLightCache.
|
overridevirtual |
Load baked lightmap.
Implements Urho3D::BakedLightCache.
|
overridevirtual |
Store baked scene chunk in the cache.
Implements Urho3D::BakedLightCache.
|
overridevirtual |
Store direct light for the lightmap chart.
Implements Urho3D::BakedLightCache.
|
overridevirtual |
Store baked lightmap.
Implements Urho3D::BakedLightCache.