Stores the most recently opened cache. More...
#include <Inventor/elements/SoCacheElement.h>
Classes | |
struct | MTstruct |
Public Member Functions | |
SoCache * | getCache () const |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
SoCacheElement * | getNextCacheElement () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoCache *cache) |
static SbBool | anyOpen (SoState *state) |
static void | closeAnyOpen (SoState *state) |
static void | invalidate (SoState *state) |
Friends | |
class | SoElement |
Stores the most recently opened cache.
This element stores the most recently opened cache.
SoSeparator, SoRenderList, SoVRMLCollision, SoVRMLGroup, SoVRMLShape, SoVRMLStaticGroup
Returns TRUE if any cache is currently open in the state.
static void SoCacheElement::closeAnyOpen | ( | SoState * | state | ) | [static] |
Closes any open cache.
SoCache* SoCacheElement::getCache | ( | ) | const [inline] |
Returns the cache stored in an instance.
This may be NULL.
static int SoCacheElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoElement.
static SoType SoCacheElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoElement.
SoCacheElement* SoCacheElement::getNextCacheElement | ( | ) | const [inline] |
Returns the next cache element in the stack.
static void SoCacheElement::invalidate | ( | SoState * | state | ) | [static] |
Invalidate any open caches.
This is called by nodes that should not be cached.
Overrides this method to unref cache.
static void SoCacheElement::set | ( | SoState * | state, | |
SoCache * | cache | |||
) | [static] |
Sets cache in element accessed from state.
friend class SoElement [friend] |