129 unsigned char *elementsUsedFlags;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
List of generic (void *) pointers.
virtual void destroy(SoState *state)
Subclasses can use this to clean up just before they are deleted.
void unref(SoState *state=NULL)
const SoElement * getInvalidElement(const SoState *state) const
Assuming isValid() returns FALSE, this will return the first element that is invalid (auto-caching us...
void ref()
Reference/unreference.
void addElement(const SoElement *elt)
Adds an element to elements-used list if not already there.
void invalidate()
Make this cache invalid.
virtual void addCacheDependency(const SoState *state, SoCache *cache)
Adds a dependency of this instance on another cache instance.
virtual ~SoCache()
Destructor.
virtual bool isValid(const SoState *state) const
Returns TRUE if cache is valid with respect to the given state.
SoCache(SoState *state)
Constructor.
This is the abstract base class for all state elements.
An SoState collects and holds state while traversing a scene graph.