27 geom_cache_size = max_size;
36 return geom_cache_size;
62 _geom_cache_size_pcollector.flush_level();
63 _geom_cache_active_pcollector.flush_level();
64 _geom_cache_record_pcollector.flush_level();
65 _geom_cache_erase_pcollector.flush_level();
66 _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 vert...
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 ve...
int get_total_size() const
Returns the number of entries currently in the cache.