Stores the current texture image.
Stores the current texture image.
static void get(SoState *state, int &_minFilter, int &_magFilter, float &_maxAnisotropy, int unit=0)
Gets the current image minFilter, magFilter and maxAnisotropy.
static const void * get(SoState *state, SbVec2i32 &size, int &numComponents, SoSFImage::DataType &dataType, GLint &GLInternalFormat, int &wrapS, int &wrapT, int &model, SbColor &blendColor, int unit=0)
Gets the current image, wrap, and model.
static void set(SoState *state, SoNode *node, const SbVec2i32 &subSize, int xoffset, int yoffset, const void *buffer, int texname)
Pass texname = -1 to deactivate subtexturing.
static SbBool containsTransparency(SoState *state, int unit=0)
Returns TRUE if the texture contains transparency info.
static const void * getDefault(SbVec2i32 &s, int &nc, SoSFImage::DataType &dataType, GLint &GLInternalFormat)
Returns the default texture image.