Open Inventor multiple field managing a list of shader objects.
More...
#include <SoMFShaderObject.h>
|
static void | initClass () |
| Initialize class with runtime type system.
|
|
Open Inventor multiple field managing a list of shader objects.
Definition at line 26 of file SoMFShaderObject.h.
◆ addShader()
Add vertex or fragment shader.
◆ findShader()
int SoMFShaderObject::findShader |
( |
const SoShaderObject * | shader | ) |
const |
Find shader using given pointer.
◆ fixCopy()
void SoMFShaderObject::fixCopy |
( |
SbBool | copyConnections | ) |
|
|
override |
Update a copied field to use the copy of each node if there is one.
◆ getNumShaders()
int SoMFShaderObject::getNumShaders |
( |
| ) |
const |
Return number of shaders managed by the field.
◆ getShader()
Get shader at given index.
◆ getShaderList()
SoNodeList SoMFShaderObject::getShaderList |
( |
| ) |
const |
Return list of managed shaders.
◆ initClass()
static void SoMFShaderObject::initClass |
( |
| ) |
|
|
static |
Initialize class with runtime type system.
◆ insertShader()
void SoMFShaderObject::insertShader |
( |
SoShaderObject * | shader, |
|
|
int | newShaderIndex ) |
Insert shader at given index.
◆ referencesCopy()
SbBool SoMFShaderObject::referencesCopy |
( |
| ) |
const |
|
override |
Override this to also check the stored nodes.
◆ removeAllShaders()
void SoMFShaderObject::removeAllShaders |
( |
| ) |
|
Remove all shaders from the field.
◆ removeShader() [1/2]
void SoMFShaderObject::removeShader |
( |
int | index | ) |
|
Remove shader at given index.
◆ removeShader() [2/2]
◆ replaceShader() [1/2]
void SoMFShaderObject::replaceShader |
( |
int | index, |
|
|
SoShaderObject * | newShader ) |
Replace shader at given index with new one.
◆ replaceShader() [2/2]
The documentation for this class was generated from the following file: