SoGLTextureCombinerElement Class Reference
[Elements]

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

#include <Inventor/elements/SoGLTextureCombinerElement.h>

Inheritance diagram for SoGLTextureCombinerElement:
SoTextureCombinerElement SoReplacedTextureElement 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 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)

Detailed Description

VSG extension Stores the current texture combiner attributes.

This element stores the current texture combiner attributes and sends commands to GL based on them.

NOTE: This class does not exist in Open Inventor 10.0 and later.

SEE ALSO

SoTextureCombinerElement

Deprecated:

Deprecated since Open Inventor 9620
SoGLTextureCombinerElement is no longer supported, use equivalent SoTextureCombinerElement.

Member Function Documentation

static int SoGLTextureCombinerElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoTextureCombinerElement.

static SoType SoGLTextureCombinerElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTextureCombinerElement.

virtual void SoGLTextureCombinerElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Override pop() method so side effects can occur in GL.

virtual void SoGLTextureCombinerElement::push ( SoState state  )  [virtual]

Override push() method to remember previous element's state so we can sometimes generate more efficient GL calls.

Reimplemented from SoTextureCombinerElement.

static void SoGLTextureCombinerElement::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.

Reimplemented from SoTextureCombinerElement.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/