MeVisLab Resolution Independence API
SoUniformShaderParameter Class Referenceabstract

Abstract Open Inventor base class for uniform shader parameter nodes. More...

#include <SoUniformShaderParameter.h>

Inheritance diagram for SoUniformShaderParameter:
SoShaderParameter SoSampler SoShaderParameter1f SoShaderParameter1fv SoShaderParameter1i SoShaderParameter2f SoShaderParameter2i SoShaderParameter3f SoShaderParameter3i SoShaderParameter4f SoShaderParameterColor SoShaderParameterMLImageProps SoShaderParameterMLImageSize SoShaderParameterMatrix SoShaderParameterPlane SoShaderParameterRotation

Public Member Functions

void GLRender (SoGLRenderAction *action) override
 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.
 
- Public Member Functions inherited from SoShaderParameter
void callback (SoCallbackAction *) override
 Shut down handling of these actions for children.
 
void GLRender (SoGLRenderAction *) override
 
void getBoundingBox (SoGetBoundingBoxAction *) override
 
void getMatrix (SoGetMatrixAction *) override
 
void handleEvent (SoHandleEventAction *) override
 
void pick (SoPickAction *) override
 

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system.
 
- Static Public Member Functions inherited from SoShaderParameter
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.
 
- Public Attributes inherited from SoShaderParameter
SoSFString name
 Name given to parameter in high level languages.
 

Protected Member Functions

 SoUniformShaderParameter ()
 Constructor.
 
- Protected Member Functions inherited from SoShaderParameter
 SoShaderParameter ()
 Constructor.
 

Detailed Description

Abstract Open Inventor base class for uniform shader parameter nodes.

Definition at line 28 of file SoUniformShaderParameter.h.

Constructor & Destructor Documentation

◆ SoUniformShaderParameter()

SoUniformShaderParameter::SoUniformShaderParameter ( )
protected

Constructor.

Member Function Documentation

◆ GLRender()

void SoUniformShaderParameter::GLRender ( SoGLRenderAction * action)
override

Add this node to element in state.

◆ initClass()

static void SoUniformShaderParameter::initClass ( )
static

Initialize class with runtime type system.

◆ updateParameter()

◆ updatePreparation()

virtual void SoUniformShaderParameter::updatePreparation ( SoState * )
inlinevirtual

Hook for internal preparation steps.

The shader program has not yet been activated.

Reimplemented in SoShaderParameterPlane, SoFramebufferSampler2D, and SoFramebufferSampler3D.

Definition at line 46 of file SoUniformShaderParameter.h.

Member Data Documentation

◆ auxUniformParameters

std::set<SbString> SoUniformShaderParameter::auxUniformParameters

Auxiliary uniform shader parameters which are maintained by this node.

Definition at line 53 of file SoUniformShaderParameter.h.


The documentation for this class was generated from the following file: