Stores the current texture combiner attributes. More...
#include <Inventor/elements/SoGLTextureCombinerElement.h>
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) |
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.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.