Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoUniformShaderParameterElement Class Reference

VSG extension Stores the current uniform shader parameter. More...

#include <Inventor/elements/SoUniformShaderParameterElement.h>

+ Inheritance diagram for SoUniformShaderParameterElement:

Public Member Functions

virtual void push (SoState *state)
 Overrides push() method to copy values from next instance in the stack.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
- Public Member Functions inherited from SoAccumulatedElement
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void add (SoState *state, SoShaderParameter *param)
 Adds a shader parameter.
 
static SoDEPRECATED void add (SoState *state, SoShaderParameter *param, SoMFNode *shaderObjects)
 
static const SoUniformShaderParameterElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state.
 
- Static Public Member Functions inherited from SoAccumulatedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Stores the current uniform shader parameter.

This element stores the current uniform shader parameter.

SEE ALSO

SoShaderParameter

Definition at line 46 of file SoUniformShaderParameterElement.h.

Member Function Documentation

◆ add() [1/2]

static void SoUniformShaderParameterElement::add ( SoState state,
SoShaderParameter param 
)
static

Adds a shader parameter.

◆ add() [2/2]

static SoDEPRECATED void SoUniformShaderParameterElement::add ( SoState state,
SoShaderParameter param,
SoMFNode shaderObjects 
)
static

◆ getClassStackIndex()

static int SoUniformShaderParameterElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoUniformShaderParameterElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getInstance()

static const SoUniformShaderParameterElement * SoUniformShaderParameterElement::getInstance ( SoState state)
static

Returns the top (current) instance of the element in the state.

◆ pop()

virtual void SoUniformShaderParameterElement::pop ( SoState state,
const SoElement prevTopElement 
)
virtual

Pops element.

Allows for side effects to occur. Default methods do nothing.

Reimplemented from SoElement.

◆ push()

virtual void SoUniformShaderParameterElement::push ( SoState state)
virtual

Overrides push() method to copy values from next instance in the stack.

Reimplemented from SoAccumulatedElement.


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