GeomCacheManager

Inheritance:

Methods of GeomCacheManager:

flush
void GeomCacheManager::flush(void);

Description: Immediately empties all elements in the cache.

getGlobalPtr
static GeomCacheManager *GeomCacheManager::get_global_ptr(void);

Description: Returns the global cache manager pointer.

getMaxSize
int GeomCacheManager::get_max_size(void) const;

Description: Returns the maximum number of entries in the cache for storing pre-processed data for rendering vertices. See set_max_size().

getTotalSize
int GeomCacheManager::get_total_size(void) const;

Description: Returns the number of entries currently in the cache.

setMaxSize
void GeomCacheManager::set_max_size(int max_size) const;

Description: Specifies the maximum number of entries in the cache for storing pre-processed data for rendering vertices. This limit is flexible, and may be temporarily exceeded if many different Geoms are pre-processed during the space of a single frame.
This is not a limit on the actual vertex data, which is what it is; it is also not a limit on the amount of memory used by the video driver or the system graphics interface, which Panda has no control over.