MeVisLab Toolbox Reference
SoUniformShaderParameterElement Class Reference

Open Inventor element storing a list of shader parameter nodes. More...

#include <SoUniformShaderParameterElement.h>

Inheritance diagram for SoUniformShaderParameterElement:

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, SoUniformShaderParameter *shaderParameter)
 Add to the current shader parameter list.
 
static void set (SoState *state, SoUniformShaderParameter *shaderParameter)
 Truncate the shader parameter list to zero length and set only this parameter.
 
static void clear (SoState *state, SoNode *node)
 Clear list.
 
static const SoNodeListget (SoState *state)
 Returns the current list of shader parameters from the state.
 
static void initClass ()
 Initialize class with runtime type system.
 

Protected Attributes

SoNodeList _shaderParameters
 List of shader parameter nodes.
 

Detailed Description

Open Inventor element storing a list of shader parameter nodes.

Definition at line 26 of file SoUniformShaderParameterElement.h.

Member Function Documentation

◆ add()

static void SoUniformShaderParameterElement::add ( SoState * state,
SoUniformShaderParameter * shaderParameter )
static

Add to the current shader parameter list.

◆ clear()

static void SoUniformShaderParameterElement::clear ( SoState * state,
SoNode * node )
static

Clear list.

◆ get()

static const SoNodeList & SoUniformShaderParameterElement::get ( SoState * state)
static

Returns the current list of shader parameters from the state.

◆ init()

void SoUniformShaderParameterElement::init ( SoState * state)
override

Initialize element.

◆ initClass()

static void SoUniformShaderParameterElement::initClass ( )
static

Initialize class with runtime type system.

◆ push()

void SoUniformShaderParameterElement::push ( SoState * state)
override

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

◆ set()

static void SoUniformShaderParameterElement::set ( SoState * state,
SoUniformShaderParameter * shaderParameter )
static

Truncate the shader parameter list to zero length and set only this parameter.

Member Data Documentation

◆ _shaderParameters

SoNodeList SoUniformShaderParameterElement::_shaderParameters
protected

List of shader parameter nodes.

Definition at line 60 of file SoUniformShaderParameterElement.h.


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