Rebel Fork Framework
Urho3D::BakedLightCache Class Referenceabstract

Lightmap cache interface. More...

#include <Urho3D/Glow/BakedLightCache.h>

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

Public Member Functions

virtual ~BakedLightCache ()
 Destruct.
virtual void StoreBakedChunk (const IntVector3 &chunk, BakedSceneChunk bakedChunk)=0
 Store baked scene chunk in the cache.
virtual ea::shared_ptr< const BakedSceneChunk > LoadBakedChunk (const IntVector3 &chunk)=0
 Load baked scene chunk.
virtual void StoreDirectLight (unsigned lightmapIndex, LightmapChartBakedDirect bakedDirect)=0
 Store direct light for the lightmap chart.
virtual ea::shared_ptr< const LightmapChartBakedDirect > LoadDirectLight (unsigned lightmapIndex)=0
 Load direct light for the lightmap chart.
virtual void StoreLightmap (unsigned lightmapIndex, BakedLightmap bakedLightmap)=0
 Store baked lightmap.
virtual ea::shared_ptr< const BakedLightmap > LoadLightmap (unsigned lightmapIndex)=0
 Load baked lightmap.

Detailed Description

Lightmap cache interface.

Member Function Documentation

◆ LoadBakedChunk()

virtual ea::shared_ptr< const BakedSceneChunk > Urho3D::BakedLightCache::LoadBakedChunk ( const IntVector3 & chunk)
pure virtual

Load baked scene chunk.

Implemented in Urho3D::BakedLightMemoryCache.

◆ LoadDirectLight()

virtual ea::shared_ptr< const LightmapChartBakedDirect > Urho3D::BakedLightCache::LoadDirectLight ( unsigned lightmapIndex)
pure virtual

Load direct light for the lightmap chart.

Implemented in Urho3D::BakedLightMemoryCache.

◆ LoadLightmap()

virtual ea::shared_ptr< const BakedLightmap > Urho3D::BakedLightCache::LoadLightmap ( unsigned lightmapIndex)
pure virtual

Load baked lightmap.

Implemented in Urho3D::BakedLightMemoryCache.

◆ StoreBakedChunk()

virtual void Urho3D::BakedLightCache::StoreBakedChunk ( const IntVector3 & chunk,
BakedSceneChunk bakedChunk )
pure virtual

Store baked scene chunk in the cache.

Implemented in Urho3D::BakedLightMemoryCache.

◆ StoreDirectLight()

virtual void Urho3D::BakedLightCache::StoreDirectLight ( unsigned lightmapIndex,
LightmapChartBakedDirect bakedDirect )
pure virtual

Store direct light for the lightmap chart.

Implemented in Urho3D::BakedLightMemoryCache.

◆ StoreLightmap()

virtual void Urho3D::BakedLightCache::StoreLightmap ( unsigned lightmapIndex,
BakedLightmap bakedLightmap )
pure virtual

Store baked lightmap.

Implemented in Urho3D::BakedLightMemoryCache.


The documentation for this class was generated from the following files:
  • Urho3D/Glow/BakedLightCache.h
  • Urho3D/Glow/BakedLightCache.cpp