Class SoTextureOverrideElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoTextureOverrideElement
-
public class SoTextureOverrideElement extends SoElement
Stores the current texture override. This element stores a flag for each type of element which can be overridden. Nodes implement override by setting the appropriate bit if their override flag is on, and ignoring overridden elements if the corresponding bit in the state'sSoTextureOverrideElement
is set.
-
-
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.static boolean
getImageOverride(SoState state)
Returns true iffSoTextureImageElement
is overridden.static boolean
getQualityOverride(SoState state)
Returns true iffSoTextureQualityElement
is overridden.void
push(SoState state)
Overridespush()
method to copy values from next instance in the stack, and set up cache dependencies correctly.static void
setImageOverride(SoState state, boolean override)
Sets override flag forSoTextureImageElement
.static void
setQualityOverride(SoState state, boolean override)
Sets override flag forSoTextureQualityElement
.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getQualityOverride
public static boolean getQualityOverride(SoState state)
Returns true iffSoTextureQualityElement
is overridden.
-
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. ] *
-
push
public void push(SoState state)
Overridespush()
method to copy values from next instance in the stack, and set up cache dependencies correctly.
-
setImageOverride
public static void setImageOverride(SoState state, boolean override)
Sets override flag forSoTextureImageElement
.
-
setQualityOverride
public static void setQualityOverride(SoState state, boolean override)
Sets override flag forSoTextureQualityElement
.
-
getImageOverride
public static boolean getImageOverride(SoState state)
Returns true iffSoTextureImageElement
is overridden.
-
-