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
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • push

        public void push​(SoState name_21600)
        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.