Class SoUniformShaderParameterElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoAccumulatedElement
com.openinventor.inventor.elements.SoUniformShaderParameterElement
Stores the current uniform shader parameter.
This element stores the current uniform shader parameter.
- See Also:
-
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
Modifier and TypeMethodDescriptionstatic 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
Deprecated.As of Open Inventor 9.3.0.0.getInstance
(SoState state) Returns the top (current) instance of the element in the state.void
Pops element.void
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 Details
-
add
Adds a shader parameter. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
push
Overridespush()
method to copy values from next instance in the stack.- Overrides:
push
in classSoAccumulatedElement
-
pop
Pops element. Allows for side effects to occur. Default methods do nothing. -
getInstance
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.
-