Open Inventor element storing a list of vertex or fragment shader nodes in the Open Inventor state.
More...
#include <SoShaderObjectElement.h>
|
| void | init (SoState *state) override |
| | Initialize element.
|
| |
| void | push (SoState *state) override |
| | Overrides push() method to copy values from next instance in the stack.
|
| |
|
| 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.
|
| |
|
| SoNodeList | _shaders |
| | List of vertex or fragment shader nodes.
|
| |
Open Inventor element storing a list of vertex or fragment shader nodes in the Open Inventor state.
Definition at line 26 of file SoShaderObjectElement.h.
◆ add()
| static void SoShaderObjectElement::add |
( |
SoState * |
state, |
|
|
SoShaderObject * |
shader |
|
) |
| |
|
static |
Add to the current shader object list.
◆ clear()
| static void SoShaderObjectElement::clear |
( |
SoState * |
state, |
|
|
SoNode * |
node |
|
) |
| |
|
static |
◆ get()
| static const SoNodeList & SoShaderObjectElement::get |
( |
SoState * |
state | ) |
|
|
static |
Returns the current list of shader objects from the state.
◆ init()
| void SoShaderObjectElement::init |
( |
SoState * |
state | ) |
|
|
override |
◆ initClass()
| static void SoShaderObjectElement::initClass |
( |
| ) |
|
|
static |
Initialize class with runtime type system.
◆ push()
| void SoShaderObjectElement::push |
( |
SoState * |
state | ) |
|
|
override |
Overrides push() method to copy values from next instance in the stack.
◆ _shaders
| SoNodeList SoShaderObjectElement::_shaders |
|
protected |
The documentation for this class was generated from the following file: