Class SoShaderProgramElement


  • public class SoShaderProgramElement
    extends SoReplacedElement
    Stores the current shader program. This element stores the current shader program.

    See Also:
    SoShaderProgram
    • Method Detail

      • 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 name_21667)
        Overrides push() method so side effects can occur in GL.
        Overrides:
        push in class SoElement
      • set

        public static void set​(SoState state,
                               SoNode node)
        Sets the current shader program in the state.