Stores the current 3D texture image. More...
#include <Inventor/elements/SoTextureImage3Element.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static const unsigned char * | get (SoState *state, SbVec3s &size, int &numComponents, int &wrapS, int &wrapT, int &wrapR, int &model, SbColor &blendColor, int unit=0) |
static void | set (SoState *state, SoNode *node, const SbVec3s &subSize, int xoffset, int yoffset, int zoffset, const unsigned char *bytes, int texname) |
static const unsigned char * | getDefault (SbVec3s &s, int &nc) |
static SbBool | containsTransparency (SoState *state, int unit=0) |
This element stores the current 3D texture image.
static SbBool SoTextureImage3Element::containsTransparency | ( | SoState * | state, | |
int | unit = 0 | |||
) | [static] |
Returns TRUE if the texture contains transparency info.
static const unsigned char* SoTextureImage3Element::get | ( | SoState * | state, | |
SbVec3s & | size, | |||
int & | numComponents, | |||
int & | wrapS, | |||
int & | wrapT, | |||
int & | wrapR, | |||
int & | model, | |||
SbColor & | blendColor, | |||
int | unit = 0 | |||
) | [static] |
Gets the current image, wrap, and model.
static int SoTextureImage3Element::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoTextureImageElementBase.
static SoType SoTextureImage3Element::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoTextureImageElementBase.
static const unsigned char* SoTextureImage3Element::getDefault | ( | SbVec3s & | s, | |
int & | nc | |||
) | [static] |
Returns the default texture image.
static void SoTextureImage3Element::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec3s & | subSize, | |||
int | xoffset, | |||
int | yoffset, | |||
int | zoffset, | |||
const unsigned char * | bytes, | |||
int | texname | |||
) | [static] |
Pass texname = -1 to deactivate subtexturing.
subtexturing not active by default. In any case, the regular set method must be called.