#include <SoGLShaderProgramElement.h>
Public Member Functions | |
| virtual void | init (SoState *state) |
| Initialize element. | |
| virtual void | push (SoState *state) |
| Override push()/pop() method so side effects can occur in GL. | |
| virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Static Public Member Functions | |
| static void | set (SoState *state, SoNode *node, SoGLShaderProgram *glShaderProgram) |
| Sets the current shader in the state. | |
| static SoGLShaderProgram * | get (SoState *state) |
| Returns the current shader from the state. | |
| static void | initClass () |
| Initialize class with runtime type system. | |
Protected Member Functions | |
| virtual | ~SoGLShaderProgramElement () |
| Destructor. | |
Protected Attributes | |
| SoGLShaderProgram * | _glShaderProgram |
Definition at line 17 of file SoGLShaderProgramElement.h.
| virtual SoGLShaderProgramElement::~SoGLShaderProgramElement | ( | ) | [protected, virtual] |
Destructor.
| static SoGLShaderProgram* SoGLShaderProgramElement::get | ( | SoState * | state | ) | [static] |
Returns the current shader from the state.
| virtual void SoGLShaderProgramElement::init | ( | SoState * | state | ) | [virtual] |
Initialize element.
| static void SoGLShaderProgramElement::initClass | ( | ) | [static] |
Initialize class with runtime type system.
| virtual void SoGLShaderProgramElement::pop | ( | SoState * | state, | |
| const SoElement * | prevTopElement | |||
| ) | [virtual] |
| virtual void SoGLShaderProgramElement::push | ( | SoState * | state | ) | [virtual] |
Override push()/pop() method so side effects can occur in GL.
| static void SoGLShaderProgramElement::set | ( | SoState * | state, | |
| SoNode * | node, | |||
| SoGLShaderProgram * | glShaderProgram | |||
| ) | [static] |
Sets the current shader in the state.
Definition at line 47 of file SoGLShaderProgramElement.h.
1.5.8