SoUniformShaderParameterElement Class Reference
[Elements]

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

#include <Inventor/elements/SoUniformShaderParameterElement.h>

Inheritance diagram for SoUniformShaderParameterElement:
SoAccumulatedElement SoElement SoTypedObject

List of all members.

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)

Detailed Description

VSG extension Stores the current uniform shader parameter.

This element stores the current uniform shader parameter.

SEE ALSO

SoShaderParameter


Member Function Documentation

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

Deprecated since Open Inventor 1000
Use the add() without a SoMFNode as last parameter.
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.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/