70#ifndef  _SO_GL_CACHE_LIST 
   71#define  _SO_GL_CACHE_LIST 
   76struct SoGLCacheListEntry;
 
  112    SoGLCacheListEntry *getLRU();
 
  113    void setMRU(SoGLCacheListEntry *e);
 
  114    void setLRU(SoGLCacheListEntry *e);
 
  115    void blow(
SoState *, SoGLCacheListEntry *);
 
  120    SoGLCacheListEntry *MRU;
 
  121    int maxCaches, numCaches;
 
  122    SoGLCacheListEntry *openCache;
 
 
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
 
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
 
This is the abstract base class for all state elements.
 
bool call(SoGLRenderAction *)
Given an SoGLRenderAction, try to use one of the caches we've built.
 
void close(SoGLRenderAction *)
Close an open cache, if any.
 
void invalidateAll()
Mark all caches as invalid.
 
void open(SoGLRenderAction *, bool autoCache=TRUE)
Open a new cache, maybe.
 
~SoGLCacheList()
Destructor.
 
SoGLCacheList(int numCaches=2)
Constructor. Takes the maximum number of caches to build.
 
Renders a scene graph using OpenGL.
 
An SoState collects and holds state while traversing a scene graph.