Class SoCacheElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoCacheElement
Stores the most recently opened cache.
This element stores the most recently opened cache.
SoSeparator
, SoRenderList
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true if any cache is currently open in the state.static void
closeAnyOpen
(SoState state) Closes any open cache.getCache()
Returns the cache stored in an instance.static int
Deprecated.As of Open Inventor 9.3.0.0.Returns the next cache element in the stack.static void
invalidate
(SoState state) Invalidate any open caches.void
Overrides this method to unref cache.void
push to save dependencies liststatic void
Sets cache in element accessed from state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
anyOpen
Returns true if any cache is currently open in the state. -
set
Sets cache in element accessed from state. -
invalidate
Invalidate any open caches. This is called by nodes that should not be cached. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
closeAnyOpen
Closes any open cache. -
getCache
Returns the cache stored in an instance. This may be NULL. -
pop
Overrides this method to unref cache. -
push
push to save dependencies list -
getNextCacheElement
Returns the next cache element in the stack.
-