71 CLAMP_TO_BORDER = 0x812D
75 static void setDefault(
SoState *
const state,
SoNode *
const node,
const int unit = 0);
79 const SbVec2s & size,
const int numComponents,
80 const unsigned char * bytes,
83 const Model model,
const SbColor & blendColor);
86 const SbVec3s & size,
const int numComponents,
87 const unsigned char * bytes,
91 const Model model,
const SbColor & blendColor);
93 static const unsigned char *get(
SoState *
const state,
101 static const unsigned char *get(
SoState *
const state,
111 static const unsigned char *getImage(
SoState *
const state,
114 int & numComponents);
115 static const unsigned char *getImage(
SoState *
const state,
120 static const SbColor & getBlendColor(
SoState *
const state,
const int unit = 0);
121 static Model getModel(
SoState *
const state,
const int unit = 0);
122 static Wrap getWrapS(
SoState *
const state,
const int unit = 0);
123 static Wrap getWrapT(
SoState *
const state,
const int unit = 0);
124 static Wrap getWrapR(
SoState *
const state,
const int unit = 0);
126 static SbBool containsTransparency(
SoState *
const state);
128 static const unsigned char * getDefault(
SbVec2s & size,
int & numComponents);
129 static const unsigned char * getDefault(
SbVec3s & size,
int & numComponents);
135 virtual void setElt(
const int unit,
136 const SbUniqueId nodeid,
137 const SbVec2s & size,
const int numComponents,
138 const unsigned char * bytes,
143 virtual void setElt(
const int unit,
144 const SbUniqueId nodeid,
145 const SbVec3s & size,
const int numComponents,
146 const unsigned char * bytes,
153 virtual SbBool hasTransparency(
const int unit = 0)
const;
163 const unsigned char * bytes;
164 Wrap wrapS, wrapT, wrapR;
170 const UnitData & getUnitData(
const int unit)
const;
171 int getNumUnits()
const;
174 SoMultiTextureImageElementP * pimpl;
178 const SbVec2s & size,
const int numComponents,
179 const unsigned char * bytes,
180 const int wrapS,
const int wrapT,
181 const int model,
const SbColor & blendColor) {
182 set(state, node,0, size, numComponents, bytes,
183 (Wrap) wrapS, (Wrap) wrapT, (Model) model, blendColor);
186 const SbVec2s & size,
const int numComponents,
187 const unsigned char * bytes,
188 const Wrap wrapS,
const Wrap wrapT,
189 const Model model,
const SbColor & blendColor) {
190 set(state, node, 0, size, numComponents, bytes,
191 wrapS, wrapT, model, blendColor);
195 const SbVec3s & size,
const int numComponents,
196 const unsigned char * bytes,
197 const int wrapS,
const int wrapT,
const int wrapR,
198 const int model,
const SbColor & blendColor) {
199 set(state, node, 0, size, numComponents, bytes,
200 (Wrap) wrapS, (Wrap) wrapT, (Wrap) wrapR, (Model) model, blendColor);
204 const SbVec3s & size,
const int numComponents,
205 const unsigned char * bytes,
206 const Wrap wrapS,
const Wrap wrapT,
const Wrap wrapR,
207 const Model model,
const SbColor & blendColor) {
208 set(state, node, 0, size, numComponents, bytes,
209 wrapS, wrapT, wrapR, model, blendColor);
212 static const unsigned char *
get(
SoState *
const state,
219 return get(state, 0, size, numComponents, wrapS, wrapT, model, blendColor);
221 static const unsigned char *
get(
SoState *
const state,
229 return get(state, 0, size, numComponents, wrapS, wrapT, wrapR, model, blendColor);
232 static const unsigned char *
get(
SoState *
const state,
241 const unsigned char * bytes =
get(state, 0, size, numComponents, s, t, m, blendColor);
247 static const unsigned char *
get(
SoState *
const state,
257 const unsigned char * bytes =
get(state, 0, size, numComponents, s, t, r, m, blendColor);
264 static const unsigned char *getImage(
SoState *
const state,
266 int &numComponents) {
267 return getImage(state, 0, size, numComponents);
269 static const unsigned char *getImage(
SoState *
const state,
271 int &numComponents) {
272 return getImage(state, 0, size, numComponents);
Definition SoMultiTextureImageElement.h:155
The SoMultiTextureImageElement class is yet to be documented.
Definition SoMultiTextureImageElement.h:44