Coin
4.0.3
Coin3D core library
|
The SoGLCacheList class is used to store and manage OpenGL caches. More...
#include <Inventor/caches/SoGLCacheList.h>
Public Member Functions | |
SoGLCacheList (int numcaches=2) | |
~SoGLCacheList () | |
SbBool | call (SoGLRenderAction *action) |
void | close (SoGLRenderAction *action) |
void | invalidateAll (void) |
void | open (SoGLRenderAction *action, SbBool autocache=TRUE) |
The SoGLCacheList class is used to store and manage OpenGL caches.
SoGLCacheList::SoGLCacheList | ( | int | numcaches = 2 | ) |
Constructor.
SoGLCacheList::~SoGLCacheList | ( | ) |
Destructor. Frees remaining caches.
SbBool SoGLCacheList::call | ( | SoGLRenderAction * | action | ) |
Test for valid cache and execute. Returns TRUE if a valid cache could be found, FALSE otherwise. Note that when a valid cache is found, it is executed before returning from this method.
void SoGLCacheList::close | ( | SoGLRenderAction * | action | ) |
Finish recording the currently open cache.
Invalidate all caches in this instance. Should be called from the notify() method of nodes doing caching.
void SoGLCacheList::open | ( | SoGLRenderAction * | action, |
SbBool | autocache = TRUE ) |