MeVisLabToolboxReference
|
Abstract Open Inventor base class for uniform shader parameter nodes. More...
#include <SoUniformShaderParameter.h>
Public Member Functions | |
virtual void | GLRender (SoGLRenderAction *action) |
Add this node to element in state. | |
virtual void | updatePreparation (SoState *) |
Hook for internal preparation steps. | |
virtual void | updateParameter (SoUniformParameterBase *uniformBase, SoState *state)=0 |
Assigns or updates the parameter's value. | |
Static Public Member Functions | |
static void | initClass () |
Initialize class with runtime type system. | |
Public Attributes | |
std::set< SbString > | auxUniformParameters |
Auxiliary uniform shader parameters which are maintained by this node. | |
Protected Member Functions | |
SoUniformShaderParameter () | |
Constructor. |
Abstract Open Inventor base class for uniform shader parameter nodes.
Definition at line 20 of file SoUniformShaderParameter.h.
SoUniformShaderParameter::SoUniformShaderParameter | ( | ) | [protected] |
Constructor.
virtual void SoUniformShaderParameter::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Add this node to element in state.
Reimplemented from SoShaderParameter.
Reimplemented in SoFramebufferSampler, SoInheritedFramebufferSampler, and SoMLSampler.
static void SoUniformShaderParameter::initClass | ( | ) | [static] |
Initialize class with runtime type system.
Reimplemented from SoShaderParameter.
Reimplemented in SoFramebufferSampler, SoFramebufferSampler2D, SoFramebufferSampler3D, SoImageSampler, SoInheritedFramebufferSampler, SoMLSampler, SoMLSampler1D, SoMLSampler2D, SoMLSampler3D, SoMLSamplerCubeMap, SoMultiPassFramebufferSampler, SoSampler, SoSampler2D, SoShaderParameter1f, SoShaderParameter1i, SoShaderParameter2f, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameterColor, SoShaderParameterMatrix, SoShaderParameterMLImageProps, and SoShaderParameterMLImageSize.
virtual void SoUniformShaderParameter::updateParameter | ( | SoUniformParameterBase * | uniformBase, |
SoState * | state | ||
) | [pure virtual] |
Assigns or updates the parameter's value.
The shader program is active.
Implemented in SoFramebufferSampler2D, SoFramebufferSampler3D, SoImageSampler, SoInheritedFramebufferSampler, SoMLSampler, SoSampler, SoShaderParameter1f, SoShaderParameter1i, SoShaderParameter2f, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameterColor, SoShaderParameterMatrix, SoShaderParameterMLImageProps, and SoShaderParameterMLImageSize.
virtual void SoUniformShaderParameter::updatePreparation | ( | SoState * | ) | [inline, virtual] |
Hook for internal preparation steps.
The shader program has not yet been activated.
Reimplemented in SoFramebufferSampler2D, and SoFramebufferSampler3D.
Definition at line 38 of file SoUniformShaderParameter.h.
std::set<SbString> SoUniformShaderParameter::auxUniformParameters |
Auxiliary uniform shader parameters which are maintained by this node.
Definition at line 45 of file SoUniformShaderParameter.h.