MeVisLab Resolution Independence API
SoShaderObjectElement Class Reference

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

#include <SoShaderObjectElement.h>

Inheritance diagram for SoShaderObjectElement:

Public Member Functions

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 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 26 of file SoShaderObjectElement.h.

Member Function Documentation

◆ 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

Clear list.

◆ 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

Initialize element.

◆ 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.

Member Data Documentation

◆ _shaders

SoNodeList SoShaderObjectElement::_shaders
protected

List of vertex or fragment shader nodes.

Definition at line 57 of file SoShaderObjectElement.h.


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