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 *&) |
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.
Reimplemented in SoGLShaderProgramElement.
static SoType SoShaderProgramElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
Reimplemented in SoGLShaderProgramElement.
virtual void SoShaderProgramElement::pop | ( | SoState * | state, | |
const SoElement * | prevTopElement | |||
) | [virtual] |
Overrides pop() method so side effects can occur in GL.
Reimplemented in SoGLShaderProgramElement.
virtual void SoShaderProgramElement::push | ( | SoState * | ) | [virtual] |
Sets the current shader program in the state.
Reimplemented in SoGLShaderProgramElement.