Uniform shader parameter node storing a user-defined structure. More...
#include <Inventor/nodes/SoShaderParameter.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoShaderParameterStruct () | |
virtual bool | isEqual (const SoUniformShaderParameter *param) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFNode | value |
This node allows the application to provide a uniform parameter of type struct that they have defined in their shader source to a shader object, e.g. SoFragmentShader.
Uniform shader parameter nodes are usually added to the shader object's parameter field to affect only that specific shader program, but can also be inserted in the scene graph and affect all subsequent shader programs.
See the base classes SoShaderParameter and SoUniformShaderParameter for details.
name | "" |
identifier | 0 |
value | [] |
shaderType | VERTEX |
SoShaderParameter, SoUniformShaderParameter, SoShaderParameter1f, SoShaderParameter1i, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameter4i, SoShaderParameterArray1f, SoShaderParameterArray1i, SoShaderParameterArray2f, SoShaderParameterArray2i, SoShaderParameterArray3f, SoShaderParameterArray3i, SoShaderParameterArray4f, SoShaderParameterArray4i, SoShaderParameterMatrix, SoShaderParameterMatrixArray, SoShaderStateMatrixParameter, SoShaderObject, SoShaderProgram.
SoShaderParameterStruct::SoShaderParameterStruct | ( | ) |
Constructor.
static SoType SoShaderParameterStruct::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoUniformShaderParameter.
virtual SoType SoShaderParameterStruct::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoUniformShaderParameter.
virtual bool SoShaderParameterStruct::isEqual | ( | const SoUniformShaderParameter * | param | ) | const [virtual] |
The SoUniformShaderParameter nodes that fill the structure.