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;
162 const unsigned char * bytes;
163 Wrap wrapS, wrapT, wrapR;
169 const UnitData & getUnitData(
const int unit)
const;
170 int getNumUnits()
const;
173 SoMultiTextureImageElementP * pimpl;
177 const SbVec2s & size,
const int numComponents,
178 const unsigned char * bytes,
179 const int wrapS,
const int wrapT,
180 const int model,
const SbColor & blendColor) {
181 set(state, node,0, size, numComponents, bytes,
182 (Wrap) wrapS, (Wrap) wrapT, (Model) model, blendColor);
185 const SbVec2s & size,
const int numComponents,
186 const unsigned char * bytes,
187 const Wrap wrapS,
const Wrap wrapT,
188 const Model model,
const SbColor & blendColor) {
189 set(state, node, 0, size, numComponents, bytes,
190 wrapS, wrapT, model, blendColor);
194 const SbVec3s & size,
const int numComponents,
195 const unsigned char * bytes,
196 const int wrapS,
const int wrapT,
const int wrapR,
197 const int model,
const SbColor & blendColor) {
198 set(state, node, 0, size, numComponents, bytes,
199 (Wrap) wrapS, (Wrap) wrapT, (Wrap) wrapR, (Model) model, blendColor);
203 const SbVec3s & size,
const int numComponents,
204 const unsigned char * bytes,
205 const Wrap wrapS,
const Wrap wrapT,
const Wrap wrapR,
206 const Model model,
const SbColor & blendColor) {
207 set(state, node, 0, size, numComponents, bytes,
208 wrapS, wrapT, wrapR, model, blendColor);
211 static const unsigned char *
get(
SoState *
const state,
218 return get(state, 0, size, numComponents, wrapS, wrapT, model, blendColor);
220 static const unsigned char *
get(
SoState *
const state,
228 return get(state, 0, size, numComponents, wrapS, wrapT, wrapR, model, blendColor);
231 static const unsigned char *
get(
SoState *
const state,
240 const unsigned char * bytes =
get(state, 0, size, numComponents, s, t, m, blendColor);
246 static const unsigned char *
get(
SoState *
const state,
256 const unsigned char * bytes =
get(state, 0, size, numComponents, s, t, r, m, blendColor);
263 static const unsigned char *getImage(
SoState *
const state,
265 int &numComponents) {
266 return getImage(state, 0, size, numComponents);
268 static const unsigned char *getImage(
SoState *
const state,
270 int &numComponents) {
271 return getImage(state, 0, size, numComponents);
Definition SoMultiTextureImageElement.h:155
The SoMultiTextureImageElement class is yet to be documented.
Definition SoMultiTextureImageElement.h:44