public class SoReplacedTextureElement extends SoElement
Subclasses may need to override the push()
method to copy values from the next instance in the stack (using getNextInStack()
), if the new one has to copy values (node-id) on top of the old ones.
This class defines the matches()
method to compare lists of node-id's associated to each texture unit. The node-id's represent the states of all nodes that changed the value of the element. SoReplacedTextureElement
provides methods that maintain lists of node-id's of all nodes that affect an instance. Subclasses must call these methods to make sure the id's are up to date, if they plan to use the standard matches()
method. Otherwise, they can define matches()
differently, if they wish.
See also:
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
void |
push(SoState state)
Pushes the element, copying values from previous element in state.
|
getClassStackIndex, pop
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void push(SoState state)
@Deprecated public static int getClassStackIndex()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com