Class SoUniformShaderParameterElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoAccumulatedElement
-
- com.openinventor.inventor.elements.SoUniformShaderParameterElement
-
public class SoUniformShaderParameterElement extends SoAccumulatedElement
Stores the current uniform shader parameter. This element stores the current uniform shader parameter.- See Also:
SoShaderParameter
-
-
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 void
add(SoState state, SoShaderParameter param)
Adds a shader parameter.static void
add(SoState state, SoShaderParameter param, SoMFNode shaderObjects)
Deprecated.As of Open Inventor 1.0.0.0.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static SoUniformShaderParameterElement
getInstance(SoState state)
Returns the top (current) instance of the element in the state.void
pop(SoState state, SoElement prevTopElement)
Pops element.void
push(SoState state)
Overridespush()
method to copy values from next instance in the stack.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
add
public static void add(SoState state, SoShaderParameter param)
Adds a shader parameter.
-
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.- Overrides:
push
in classSoAccumulatedElement
-
pop
public void pop(SoState state, SoElement prevTopElement)
Pops element. Allows for side effects to occur. Default methods do nothing.
-
getInstance
public static SoUniformShaderParameterElement getInstance(SoState state)
Returns the top (current) instance of the element in the state.
-
add
@Deprecated(since="1.0.0.0") public static void add(SoState state, SoShaderParameter param, SoMFNode shaderObjects)
Deprecated.As of Open Inventor 1.0.0.0. Use the add() without a SoMFNode as last parameter.
-
-