Maria GDK 5.0.0.760
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::FootprintTextureManager Class Reference

#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< FootprintTexturegetOrCreateTexture (const QuadCoo &tile, const std::vector< std::shared_ptr< ModelInstance > > &sceneryModels)
 

Detailed Description

FootprintTextureManager - Short description. Detailed description.

Member Function Documentation

◆ cleanupCache()

void FootprintTextureManager::cleanupCache ( long  timeLimitMs = 2000)

LRU cache cleanup. Delete all textures that have not been used in timeLimitMs ms or more.


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