|
virtual void | init (SoState *state) |
| FIXME: write doc.
|
|
virtual void | push (SoState *state) |
|
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
|
virtual SbBool | matches (const SoElement *elem) const |
|
SoElement * | copyMatchInfo (void) const |
|
virtual void | setElt (const int unit, const uint32_t nodeid, const SbVec2s &size, const int numComponents, const unsigned char *bytes, const SoTextureImageElement::Wrap wrapS, const SoTextureImageElement::Wrap wrapT, const SoTextureImageElement::Model model, const SbColor &blendColor) |
| FIXME: write doc.
|
|
virtual void | setElt (const int unit, const uint32_t nodeid, const SbVec3s &size, const int numComponents, const unsigned char *bytes, const SoTextureImageElement::Wrap wrapS, const SoTextureImageElement::Wrap wrapT, const SoTextureImageElement::Wrap wrapR, const SoTextureImageElement::Model model, const SbColor &blendColor) |
|
const SoType | getTypeId (void) const |
|
int | getStackIndex (void) const |
|
void | setDepth (const int depth) |
|
int | getDepth (void) const |
|
virtual void | print (FILE *file=stdout) const |
|
virtual | ~SoElement () |
|
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void * | createInstance (void) |
|
static void | initClass (void) |
|
static void | set (SoState *const state, SoNode *const node, const int unit, SoGLImage *image, const SoTextureImageElement::Model model, const SbColor &blendColor) |
|
static void | restore (SoState *state, const int unit) |
|
static SoGLImage * | get (SoState *state, const int unit, SoTextureImageElement::Model &model, SbColor &blendcolor) |
|
static SbBool | hasTransparency (SoState *state) |
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void * | createInstance (void) |
|
static void | initClass (void) |
|
static void | setDefault (SoState *const state, SoNode *const node, const int unit) |
|
static void | set (SoState *const state, SoNode *const node, const int unit, const SbVec2s &size, const int numComponents, const unsigned char *bytes, const SoTextureImageElement::Wrap wrapS, const SoTextureImageElement::Wrap wrapT, const SoTextureImageElement::Model model, const SbColor &blendColor) |
| FIXME: write doc.
|
|
static void | set (SoState *const state, SoNode *const node, const int unit, const SbVec3s &size, const int numComponents, const unsigned char *bytes, const SoTextureImageElement::Wrap wrapS, const SoTextureImageElement::Wrap wrapT, const SoTextureImageElement::Wrap wrapR, const SoTextureImageElement::Model model, const SbColor &blendColor) |
|
static const unsigned char * | get (SoState *const state, const int unit, SbVec2s &size, int &numComponents, SoTextureImageElement::Wrap &wrapS, SoTextureImageElement::Wrap &wrapT, SoTextureImageElement::Model &model, SbColor &blendColor) |
| FIXME: write doc.
|
|
static const unsigned char * | get (SoState *const state, const int unit, SbVec3s &size, int &numComponents, SoTextureImageElement::Wrap &wrapS, SoTextureImageElement::Wrap &wrapT, SoTextureImageElement::Wrap &wrapR, SoTextureImageElement::Model &model, SbColor &blendColor) |
|
static const unsigned char * | getImage (SoState *const state, const int unit, SbVec2s &size, int &numComponents) |
|
static const unsigned char * | getImage (SoState *const state, const int unit, SbVec3s &size, int &numComponents) |
|
static const SbColor & | getBlendColor (SoState *const state, const int unit) |
|
static SoTextureImageElement::Model | getModel (SoState *const state, const int unit) |
|
static SoTextureImageElement::Wrap | getWrapS (SoState *const state, const int unit) |
|
static SoTextureImageElement::Wrap | getWrapT (SoState *const state, const int unit) |
|
static SoTextureImageElement::Wrap | getWrapR (SoState *const state, const int unit) |
|
static SbBool | containsTransparency (SoState *const state) |
| FIXME: write doc.
|
|
static const unsigned char * | getDefault (SbVec2s &size, int &numComponents) |
| FIXME: write doc.
|
|
static const unsigned char * | getDefault (SbVec3s &size, int &numComponents) |
|
static void | initClass (void) |
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void | initElements (void) |
|
static int | getNumStackIndices (void) |
|
static SoType | getIdFromStackIndex (const int stackIndex) |
|
The SoGLMultiTextureImageElement is used to control the current GL texture for texture units.
void SoGLMultiTextureImageElement::pop |
( |
SoState * |
state, |
|
|
const SoElement * |
prevTopElement |
|
) |
| |
|
virtual |
This method is callled when the state is popped, and the depth of the element is bigger than the current state depth. pop() is called on the new top of stack, and a pointer to the previous top of stack is passed in prevTopElement.
Override this method if you need to copy some state information from the previous top of stack.
Reimplemented from SoElement.