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