#include <Inventor/caches/SoCache.h>
|
virtual void | destroy (SoState *state) |
| Subclasses can use this to clean up just before they are deleted.
|
|
virtual | ~SoCache () |
| Destructor.
|
|
Definition at line 83 of file SoCache.h.
◆ SoCache()
SoCache::SoCache |
( |
SoState * |
state | ) |
|
Takes the state in effect when the cache is used; it is assumed that the state is pushed before the cache is created.
◆ ~SoCache()
virtual SoCache::~SoCache |
( |
| ) |
|
|
protectedvirtual |
◆ addCacheDependency()
virtual void SoCache::addCacheDependency |
( |
const SoState * |
state, |
|
|
SoCache * |
cache |
|
) |
| |
|
virtual |
The default method takes care of adding dependencies from the child cache.
◆ addElement()
void SoCache::addElement |
( |
const SoElement * |
elt | ) |
|
◆ destroy()
virtual void SoCache::destroy |
( |
SoState * |
state | ) |
|
|
protectedvirtual |
Render caches use this to free display lists. Note that the state will be NULL if the cache is no deleted during the application of an action.
Reimplemented in SoGLRenderCache.
◆ getInvalidElement()
Returns NULL if the cache is not invalid because of an element or if the cache is valid.
◆ invalidate()
void SoCache::invalidate |
( |
| ) |
|
◆ isValid()
virtual bool SoCache::isValid |
( |
const SoState * |
state | ) |
const |
|
virtual |
◆ ref()
◆ unref()
void SoCache::unref |
( |
SoState * |
state = NULL | ) |
|
The documentation for this class was generated from the following file:
- C:/jh/mevislab/4.0.2_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/caches/SoCache.h