MeVisLabToolboxReference
SoGLShaderProgramElement Class Reference

Open Inventor element representing a SoGLShaderProgram in the Open Inventor state. More...

#include <SoGLShaderProgramElement.h>

List of all members.

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 SoGLShaderProgramget (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

Detailed Description

Open Inventor element representing a SoGLShaderProgram in the Open Inventor state.

Definition at line 17 of file SoGLShaderProgramElement.h.


Constructor & Destructor Documentation

virtual SoGLShaderProgramElement::~SoGLShaderProgramElement ( ) [protected, virtual]

Destructor.


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file: