MeVisLab Toolbox Reference
|
Open Inventor multiple field managing a list of shader parameters. More...
#include <SoMFUniformShaderParameter.h>
Public Member Functions | |
void | addShaderParameter (SoUniformShaderParameter *shaderParameter) |
Add shader parameter. | |
void | insertShaderParameter (SoUniformShaderParameter *shaderParameter, int newShaderParameterIndex) |
Insert shader parameter at given index. | |
SoUniformShaderParameter * | getShaderParameter (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. | |
Open Inventor multiple field managing a list of shader parameters.
Definition at line 25 of file SoMFUniformShaderParameter.h.
void SoMFUniformShaderParameter::addShaderParameter | ( | SoUniformShaderParameter * | shaderParameter | ) |
Add shader parameter.
int SoMFUniformShaderParameter::findShaderParameter | ( | const SoUniformShaderParameter * | shaderParameter | ) | const |
Find shader parameter using given pointer.
Update a copied field to use the copy of each node if there is one.
int SoMFUniformShaderParameter::getNumShaderParameters | ( | ) | const |
Return number of shader parameters managed by the field.
SoUniformShaderParameter * SoMFUniformShaderParameter::getShaderParameter | ( | int | index | ) | const |
Get shader parameter at given index.
Initialize class with runtime type system.
void SoMFUniformShaderParameter::insertShaderParameter | ( | SoUniformShaderParameter * | shaderParameter, |
int | newShaderParameterIndex ) |
Insert shader parameter at given index.
|
override |
Override this to also check the stored nodes.
void SoMFUniformShaderParameter::removeAllShaderParameters | ( | ) |
Remove all shader parameters from the field.
Remove shader parameter at given index.
|
inline |
Remove shader parameter using given pointer.
Definition at line 52 of file SoMFUniformShaderParameter.h.
References mlrange_cast().
void SoMFUniformShaderParameter::replaceShaderParameter | ( | int | index, |
SoUniformShaderParameter * | newShaderParameter ) |
Replace shader parameter at given index with new one.
|
inline |
Replace shader parameter with new one using given pointer.
Definition at line 63 of file SoMFUniformShaderParameter.h.
References mlrange_cast().