Stores the current texture combiner parameters. More...
#include <Inventor/elements/SoTextureCombinerElement.h>
Classes | |
struct | SoTexCombineData |
Public Member Functions | |
virtual void | push (SoState *state) |
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 parameters.
static int SoTextureCombinerElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedTextureElement.
Reimplemented in SoGLTextureCombinerElement.
static SoType SoTextureCombinerElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedTextureElement.
Reimplemented in SoGLTextureCombinerElement.
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.
Reimplemented in SoGLTextureCombinerElement.
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.
Reimplemented in SoGLTextureCombinerElement.