Stores the current uniform shader parameter.
More...
#include <Inventor/elements/SoUniformShaderParameterElement.h>
Public Member Functions | |
| virtual void | push (SoState *state) |
| const SoUniformShaderParameterElement * | getInstance (SoState *state) |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | add (SoState *state, SoShaderParameter *param, SoMFNode *shaderObjects) |
Stores the current uniform shader parameter.
This element stores the current uniform shader parameter.
| static void SoUniformShaderParameterElement::add | ( | SoState * | state, | |
| SoShaderParameter * | param, | |||
| SoMFNode * | shaderObjects | |||
| ) | [static] |
Adds a shader parameter.
| static int SoUniformShaderParameterElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoAccumulatedElement.
Reimplemented in SoGLUniformShaderParameterElement.
| static SoType SoUniformShaderParameterElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAccumulatedElement.
Reimplemented in SoGLUniformShaderParameterElement.
| const SoUniformShaderParameterElement* SoUniformShaderParameterElement::getInstance | ( | SoState * | state | ) |
Returns the top (current) instance of the element in the state.
| virtual void SoUniformShaderParameterElement::push | ( | SoState * | state | ) | [virtual] |
Overrides push() method to copy values from next instance in the stack.
Reimplemented from SoAccumulatedElement.