55#ifndef  _SO_CACHE_CONTEXT_ELEMENT 
   56#define  _SO_CACHE_CONTEXT_ELEMENT 
   63#define OIV_AUTO_CACHE_DEFAULT_MAX 100000 
  171                            bool is2PassTransparency);
 
  209            classStackIndex))->autoCacheBits = bits;
 
 
  252    static void         freeList(
SoState *state,
 
  255    static SbPList *    waitingToBeFreed;       
 
 
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
 
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
 
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
 
List of generic (void *) pointers.
 
List of generic (void *) pointers.
 
This is the abstract base class for all state elements.
 
virtual void print(FILE *fp) const
Prints element (for debugging)
 
virtual ~SoGLCacheContextElement()
 
static int resetAutoCacheBits(SoState *state)
 
virtual bool matches(const SoElement *elt) const
Standard element stuff:
 
static void shouldAutoCache(SoState *state, int bits)
Called by nodes to say that they should/shouldn't be auto-cached (pass TRUE if should,...
 
static void set(SoState *state, int context, bool is2PassTransparency)
Sets the current context. This is done by the renderAction.
 
virtual void init(SoState *state)
Initializes element.
 
static bool areMipMapsFast(SoState *state)
Methods to quickly figure out if an OpenGL extension is available at run-time.
 
static void setAutoCacheBits(SoState *state, int bits)
Used by Separators to set/reset the auto-caching bits:
 
static int get(SoState *state)
Gets the current context.
 
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element.
 
Type getType()
Get methods.
 
SoGLDisplayList(SoState *state, Type type, int numToAllocate=1)
 
void addDependency(SoState *state)
 
void call(SoState *state, int index=0)
Call a display list, or bind a texture object.
 
void unref(SoState *state=NULL)
 
void open(SoState *state, int index=0)
Open/close a display list.
 
void ref()
Because display lists may contain textures objects or other display lists, they must be reference cou...
 
void close(SoState *state)
 
An SoState collects and holds state while traversing a scene graph.
 
SoElement * getElementNoPush(int stackIndex) const
Internal-only, dangerous method that returns a writeable element without checking for state depth and...