Class SoUniformShaderParameterElement


public class SoUniformShaderParameterElement extends SoAccumulatedElement
Stores the current uniform shader parameter. This element stores the current uniform shader parameter.

See Also:
  • Method Details

    • 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)
      Overrides push() method to copy values from next instance in the stack.
      Overrides:
      push in class SoAccumulatedElement
    • pop

      public void pop(SoState state, SoElement prevTopElement)
      Pops element. Allows for side effects to occur. Default methods do nothing.
      Overrides:
      pop in class SoElement
    • 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.

      Warning Deprecated since Open Inventor 1000. Use the add() without a SoMFNode as last parameter.