Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoTextureCombinerElement Class Reference

VSG extension Stores the current texture combiner parameters. More...

#include <Inventor/elements/SoTextureCombinerElement.h>

+ Inheritance diagram for SoTextureCombinerElement:

Public Member Functions

virtual void push (SoState *state)
 Push copies the values from the previous element, so set doesn't have to set them if they are set AS_IS.
 
- Public Member Functions inherited from SoReplacedTextureElement
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
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 set (SoState *state, SoNode *node, int _combineRGB, int _combineAlpha, int _source0RGB, int _source1RGB, int _source2RGB, int _source0Alpha, int _source1Alpha, int _source2Alpha, int _operand0RGB, int _operand1RGB, int _operand2RGB, int _operand0Alpha, int _operand1Alpha, int _operand2Alpha, float _scaleRGB, float _scaleAlpha, const SbVec4f &constantColor)
 Sets the current texture combiner parameters in the state.
 
- Static Public Member Functions inherited from SoReplacedTextureElement
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 texture combiner parameters.

This element stores the current texture combiner parameters.

SEE ALSO

SoTextureCombiner

Definition at line 44 of file SoTextureCombinerElement.h.

Member Function Documentation

◆ getClassStackIndex()

static int SoTextureCombinerElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoTextureCombinerElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ push()

virtual void SoTextureCombinerElement::push ( SoState state)
virtual

Push copies the values from the previous element, so set doesn't have to set them if they are set AS_IS.

Reimplemented from SoReplacedTextureElement.

◆ set()

static void SoTextureCombinerElement::set ( SoState state,
SoNode node,
int  _combineRGB,
int  _combineAlpha,
int  _source0RGB,
int  _source1RGB,
int  _source2RGB,
int  _source0Alpha,
int  _source1Alpha,
int  _source2Alpha,
int  _operand0RGB,
int  _operand1RGB,
int  _operand2RGB,
int  _operand0Alpha,
int  _operand1Alpha,
int  _operand2Alpha,
float  _scaleRGB,
float  _scaleAlpha,
const SbVec4f constantColor 
)
static

Sets the current texture combiner parameters in the state.

Calls virtual method that subclasses can override.


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