55 int _combineRGB,
int _combineAlpha,
56 int _source0RGB,
int _source1RGB,
int _source2RGB,
57 int _source0Alpha,
int _source1Alpha,
int _source2Alpha,
58 int _operand0RGB,
int _operand1RGB,
int _operand2RGB,
59 int _operand0Alpha,
int _operand1Alpha,
int _operand2Alpha,
60 float _scaleRGB,
float _scaleAlpha,
72 virtual void commonInit();
75 virtual void init(
SoState *state);
79 static void initClass();
80 static void exitClass();
84 virtual void setElt(
int _combineRGB,
int _combineAlpha,
85 int _source0RGB,
int _source1RGB,
int _source2RGB,
86 int _source0Alpha,
int _source1Alpha,
int _source2Alpha,
87 int _operand0RGB,
int _operand1RGB,
int _operand2RGB,
88 int _operand0Alpha,
int _operand1Alpha,
int _operand2Alpha,
89 float _scaleRGB,
float _scaleAlpha,
90 const SbVec4f &_constantColor,
int unit=0);
94 struct SoTexCombineData {
96 :combineRGB(0),combineAlpha(0),
97 source0RGB(0),source1RGB(0),source2RGB(0),
98 source0Alpha(0),source1Alpha(0),source2Alpha(0),
99 operand0RGB(0),operand1RGB(0),operand2RGB(0),
100 operand0Alpha(0),operand1Alpha(0),operand2Alpha(0),
101 scaleRGB(0),scaleAlpha(0),constantColor(0,0,0,0)
104 SoTexCombineData& operator=(
const SoTexCombineData &data)
106 combineRGB =data.combineRGB;
107 combineAlpha = data.combineAlpha;
108 source0RGB =data.source0RGB;
109 source1RGB =data.source1RGB;
110 source2RGB =data.source2RGB;
111 source0Alpha =data.source0Alpha;
112 source1Alpha =data.source1Alpha;
113 source2Alpha =data.source2Alpha;
114 operand0RGB =data.operand0RGB;
115 operand1RGB =data.operand1RGB;
116 operand2RGB =data.operand2RGB;
117 operand0Alpha =data.operand0Alpha;
118 operand1Alpha =data.operand1Alpha;
119 operand2Alpha =data.operand2Alpha;
120 scaleRGB =data.scaleRGB;
121 scaleAlpha =data.scaleAlpha;
122 constantColor =data.constantColor;
147 SoTexCombineData& getCombinerData(
const size_t unit)
const;
150 mutable std::vector<SoTexCombineData> m_texCombineData;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the curre...
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.
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_...