33 geom_cache_size = max_size;
45 return geom_cache_size;
78 _geom_cache_size_pcollector.flush_level();
79 _geom_cache_active_pcollector.flush_level();
80 _geom_cache_record_pcollector.flush_level();
81 _geom_cache_erase_pcollector.flush_level();
82 _geom_cache_evict_pcollector.flush_level();
int get_max_size() const
Returns the maximum number of entries in the cache for storing pre-processed data for rendering verti...
static void flush_level()
Flushes the PStatCollectors used during traversal.
void evict_old_entries()
Trims the cache size down to get_max_size() by evicting old cache entries as needed.
void set_max_size(int max_size) const
Specifies the maximum number of entries in the cache for storing pre-processed data for rendering ver...
int get_total_size() const
Returns the number of entries currently in the cache.