public class SoCache extends SoBaseContextCache
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
addCacheDependency(SoState state,
SoCache cache)
Adds a dependency of this instance on another cache instance.
|
void |
addElement(SoElement elt)
Adds an element to elements-used list if not already there.
|
void |
addIgnoredElement(SoElement name_9834)
kept from 7.2, only for .NET binary compatibility issues
|
SoElement |
getCachedInvalidElement(SoState state)
Assuming
isValid() returns false, this will return the first cached element that is invalid (auto-caching uses this in its heuristic). |
SoElement |
getInvalidElement(SoState state)
Assuming
isValid() returns false, this will return the first state element that is invalid (auto-caching uses this in its heuristic). |
void |
invalidate()
Make this cache invalid.
|
boolean |
isValid(SoState state)
Returns true if cache is valid with respect to the given state.
|
boolean |
isValid(SoState state,
boolean name_9829)
kept from 7.2, only for .NET binary compatibility issues
|
boolean |
isValid(SoState state,
SoElement elf)
Return is the given element is valid True if the element is not monitored.
|
dispose, isContextDependent, isDisposable, release, setContextDependent, setContextDependent
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoCache(SoState state)
public SoElement getInvalidElement(SoState state)
isValid()
returns false, this will return the first state element that is invalid (auto-caching uses this in its heuristic).
Returns NULL if the cache is not invalid because of an element or if the cache is valid.public SoElement getCachedInvalidElement(SoState state)
isValid()
returns false, this will return the first cached element that is invalid (auto-caching uses this in its heuristic).
Returns NULL if the cache is not invalid because of an element or if the cache is valid.public void addCacheDependency(SoState state, SoCache cache)
public boolean isValid(SoState state)
public boolean isValid(SoState state, boolean name_9829)
public void addIgnoredElement(SoElement name_9834)
public void invalidate()
public void addElement(SoElement elt)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com