#include <SoShaderObjectElement.h>
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. | |
Definition at line 18 of file SoShaderObjectElement.h.
| 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.
SoNodeList SoShaderObjectElement::_shaders [protected] |
1.5.8