Stores the current texture image. More...
#include <Inventor/elements/SoTextureImageElement.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 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 | get (SoState *state, int &_minFilter, int &_magFilter, float &_maxAnisotropy, int unit=0) |
Gets the current image minFilter, magFilter and maxAnisotropy. | |
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. | |
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 texture image.
This element stores the current texture image.
SoTexture2, SoExtTexture2, SoIndexedTexture2, SoTextureCubeMap
Definition at line 68 of file SoTextureImageElement.h.
Returns TRUE if the texture contains transparency info.
|
static |
Gets the current image minFilter, magFilter and maxAnisotropy.
|
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.