MeVisLab Resolution Independence API
SoMFUniformShaderParameter Class Reference

Open Inventor multiple field managing a list of shader parameters. More...

#include <SoMFUniformShaderParameter.h>

Inheritance diagram for SoMFUniformShaderParameter:

Public Member Functions

void addShaderParameter (SoUniformShaderParameter *shaderParameter)
 Add shader parameter.
 
void insertShaderParameter (SoUniformShaderParameter *shaderParameter, int newShaderParameterIndex)
 Insert shader parameter at given index.
 
SoUniformShaderParametergetShaderParameter (int index) const
 Get shader parameter at given index.
 
int findShaderParameter (const SoUniformShaderParameter *shaderParameter) const
 Find shader parameter using given pointer.
 
int getNumShaderParameters () const
 Return number of shader parameters managed by the field.
 
void removeShaderParameter (int index)
 Remove shader parameter at given index.
 
void removeShaderParameter (SoUniformShaderParameter *shaderParameter)
 Remove shader parameter using given pointer.
 
void removeAllShaderParameters ()
 Remove all shader parameters from the field.
 
void replaceShaderParameter (int index, SoUniformShaderParameter *newShaderParameter)
 Replace shader parameter at given index with new one.
 
void replaceShaderParameter (SoUniformShaderParameter *oldShaderParameter, SoUniformShaderParameter *newShaderParameter)
 Replace shader parameter with new one using given pointer.
 
void fixCopy (SbBool copyConnections) override
 Update a copied field to use the copy of each node if there is one.
 
SbBool referencesCopy () const override
 Override this to also check the stored nodes.
 

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system.
 

Detailed Description

Open Inventor multiple field managing a list of shader parameters.

Definition at line 25 of file SoMFUniformShaderParameter.h.

Member Function Documentation

◆ addShaderParameter()

void SoMFUniformShaderParameter::addShaderParameter ( SoUniformShaderParameter * shaderParameter)

Add shader parameter.

◆ findShaderParameter()

int SoMFUniformShaderParameter::findShaderParameter ( const SoUniformShaderParameter * shaderParameter) const

Find shader parameter using given pointer.

◆ fixCopy()

void SoMFUniformShaderParameter::fixCopy ( SbBool copyConnections)
override

Update a copied field to use the copy of each node if there is one.

◆ getNumShaderParameters()

int SoMFUniformShaderParameter::getNumShaderParameters ( ) const

Return number of shader parameters managed by the field.

◆ getShaderParameter()

SoUniformShaderParameter * SoMFUniformShaderParameter::getShaderParameter ( int index) const

Get shader parameter at given index.

◆ initClass()

static void SoMFUniformShaderParameter::initClass ( )
static

Initialize class with runtime type system.

◆ insertShaderParameter()

void SoMFUniformShaderParameter::insertShaderParameter ( SoUniformShaderParameter * shaderParameter,
int newShaderParameterIndex )

Insert shader parameter at given index.

◆ referencesCopy()

SbBool SoMFUniformShaderParameter::referencesCopy ( ) const
override

Override this to also check the stored nodes.

◆ removeAllShaderParameters()

void SoMFUniformShaderParameter::removeAllShaderParameters ( )

Remove all shader parameters from the field.

◆ removeShaderParameter() [1/2]

void SoMFUniformShaderParameter::removeShaderParameter ( int index)

Remove shader parameter at given index.

◆ removeShaderParameter() [2/2]

void SoMFUniformShaderParameter::removeShaderParameter ( SoUniformShaderParameter * shaderParameter)
inline

Remove shader parameter using given pointer.

Definition at line 52 of file SoMFUniformShaderParameter.h.

◆ replaceShaderParameter() [1/2]

void SoMFUniformShaderParameter::replaceShaderParameter ( int index,
SoUniformShaderParameter * newShaderParameter )

Replace shader parameter at given index with new one.

◆ replaceShaderParameter() [2/2]

void SoMFUniformShaderParameter::replaceShaderParameter ( SoUniformShaderParameter * oldShaderParameter,
SoUniformShaderParameter * newShaderParameter )
inline

Replace shader parameter with new one using given pointer.

Definition at line 63 of file SoMFUniformShaderParameter.h.


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