Stores the current 3D texture image. More...
#include <Inventor/elements/SoTextureImage3Element.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
static const unsigned char * | get (SoState *state, SbVec3s &size, int &numComponents, int &wrapS, int &wrapT, int &wrapR, int &model, SbColor &blendColor, int unit=0) |
Gets the current image, wrap, and model. | |
static void | set (SoState *state, SoNode *node, const SbVec3s &subSize, int xoffset, int yoffset, int zoffset, const unsigned char *bytes, int texname) |
Pass texname = -1 to deactivate subtexturing. | |
static const unsigned char * | getDefault (SbVec3s &s, int &nc) |
Returns the default texture image. | |
static SbBool | containsTransparency (SoState *state, int unit=0) |
Returns TRUE if the texture contains transparency info. | |
Static Public Member Functions inherited from SoTextureImageElementBase | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
Static Public Member Functions inherited from SoReplacedTextureElement | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Additional Inherited Members | |
Public Types inherited from SoTextureImageElementBase | |
enum | Target { TEXTURE2D = GL_TEXTURE_2D , TEXTURECUBEMAP = GL_TEXTURE_CUBE_MAP } |
Target. More... | |
Public Member Functions inherited from SoTextureImageElementBase | |
virtual void | print (FILE *fp) const |
Print info about image for debugging. | |
virtual void | push (SoState *state) |
Overrides push() method to copy values from next instance in the stack. | |
Public Member Functions inherited from SoElement | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Stores the current 3D texture image.
This element stores the current 3D texture image.
Definition at line 46 of file SoTextureImage3Element.h.
Returns TRUE if the texture contains transparency info.
|
static |
Gets the current image, wrap, and model.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
static |
Returns the default texture image.
|
static |
Pass texname = -1 to deactivate subtexturing.
subtexturing not active by default. In any case, the regular set method must be called.