![]() |
Maria GDK 5.0.0.760
Documentation of native code in develop branch
|
#include <M3DFootprintTextureManager.h>
Public Member Functions | |
FootprintTextureManager (std::shared_ptr< Maria::SystemTicker > systemTicker, std::shared_ptr< STK::ShaderProgramManager > shaderManager, std::shared_ptr< LocalOrigin > origin) | |
void | cleanupCache (long timeLimitMs=2000) |
void | clear () |
void | setTextureSize (int texSize) |
int | getTextureSize () const |
std::shared_ptr< FootprintTexture > | getOrCreateTexture (const QuadCoo &tile, const std::vector< std::shared_ptr< ModelInstance > > &sceneryModels) |
FootprintTextureManager - Short description. Detailed description.
void FootprintTextureManager::cleanupCache | ( | long | timeLimitMs = 2000 | ) |
LRU cache cleanup. Delete all textures that have not been used in timeLimitMs ms or more.