Stores the current shader program.
More...
#include <Inventor/elements/SoShaderProgramElement.h>
Public Member Functions | |
| virtual void | push (SoState *) |
| virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, SoNode *node) |
| static void | get (SoState *state, SoShaderProgram *&) |
Stores the current shader program.
This element stores the current shader program.
| static void SoShaderProgramElement::get | ( | SoState * | state, | |
| SoShaderProgram *& | ||||
| ) | [static] |
Gets the current shader program in the state.
| static int SoShaderProgramElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
| static SoType SoShaderProgramElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
| virtual void SoShaderProgramElement::pop | ( | SoState * | state, | |
| const SoElement * | prevTopElement | |||
| ) | [virtual] |
Overrides pop() method so side effects can occur in GL.
| virtual void SoShaderProgramElement::push | ( | SoState * | ) | [virtual] |
Sets the current shader program in the state.