Element storing the current texture image.
virtual void setElt(const SbVec2s &s, int nc, const unsigned char *bytes, int wrapS, int wrapT, int model, const SbColor &blendColor)
static bool containsTransparency(SoState *state)
Returns TRUE if the texture contains transparency info.
static const unsigned char * getDefault(SbVec2s &s, int &nc)
Returns the default texture image.
const unsigned char * bytes
virtual ~SoTextureImageElement()
static void set(SoState *state, SoNode *node, const SbVec2s &size, int numComponents, const unsigned char *bytes, int wrapS, int wrapT, int model, const SbColor &blendColor)
sets the current image, wrap, and model:
static const unsigned char * get(SoState *state, SbVec2s &size, int &numComponents, int &wrapS, int &wrapT, int &model, SbColor &blendColor)
virtual void init(SoState *state)
Initializes element.
virtual void print(FILE *fp) const
Print info about image for debugging.