Class SoShaderProgramElement

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

    See Also:
    • Method Detail

      • getClassStackIndex

        public static int getClassStackIndex()
        As of Open Inventor replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • push

        public void push​(SoState name_21601)
        Overrides push() method so side effects can occur in GL.
        push in class SoElement
      • set

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