MeVisLabToolboxReference
SoShaderObjectElement Class Reference

Open Inventor element storing a list of vertex or fragment shader nodes in the Open Inventor state. More...

#include <SoShaderObjectElement.h>

List of all members.

Public Member Functions

virtual void init (SoState *state)
 Initialize element.
virtual void push (SoState *state)
 Overrides push() method to copy values from next instance in the stack.

Static Public Member Functions

static void add (SoState *state, SoShaderObject *shader)
 Add to the current shader object list.
static const SoNodeList & get (SoState *state)
 Returns the current list of shader objects from the state.
static void clear (SoState *state, SoNode *node)
 Clear list.
static void initClass ()
 Initialize class with runtime type system.

Protected Attributes

SoNodeList _shaders
 List of vertex or fragment shader nodes.

Detailed Description

Open Inventor element storing a list of vertex or fragment shader nodes in the Open Inventor state.

Definition at line 18 of file SoShaderObjectElement.h.


Member Function Documentation

static void SoShaderObjectElement::add ( SoState *  state,
SoShaderObject shader 
) [static]

Add to the current shader object list.

static void SoShaderObjectElement::clear ( SoState *  state,
SoNode *  node 
) [static]

Clear list.

static const SoNodeList& SoShaderObjectElement::get ( SoState *  state) [static]

Returns the current list of shader objects from the state.

virtual void SoShaderObjectElement::init ( SoState *  state) [virtual]

Initialize element.

static void SoShaderObjectElement::initClass ( ) [static]

Initialize class with runtime type system.

virtual void SoShaderObjectElement::push ( SoState *  state) [virtual]

Overrides push() method to copy values from next instance in the stack.


Member Data Documentation

SoNodeList SoShaderObjectElement::_shaders [protected]

List of vertex or fragment shader nodes.

Definition at line 49 of file SoShaderObjectElement.h.


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