Class SoReplacedTextureElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedTextureElement
-
- Direct Known Subclasses:
SoTexture3EnabledElement
,SoTextureCombinerElement
,SoTextureCoordinate3Element
,SoTextureCoordinateBindingElement
,SoTextureCoordinateElement
,SoTextureCubeMapEnabledElement
,SoTextureEnabledElement
,SoTextureImageElementBase
,SoTextureTransformElement
public class SoReplacedTextureElement extends SoElement
Abstract base class for each texture state element. This is the abstract base class for each texture state element. A node-id is associated to each texture unit.Subclasses may need to override the
push()
method to copy values from the next instance in the stack (usinggetNextInStack()
), 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 standardmatches()
method. Otherwise, they can definematches()
differently, if they wish.
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.void
push(SoState state)
Pushes the element, copying values from previous element in state.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
push
public void push(SoState state)
Pushes the element, copying values from previous element in state. node-ids associated to each texture unit are copied.
-
getClassStackIndex
@Deprecated(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
-