Stores the current texture image. More...
#include <Inventor/elements/SoTextureImageElement.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node, const SbVec2i32 &size, int numComponents, const void *buffer, SoBufferObject *bufferObject, SoSFImage::DataType dataType, GLint GLInternalFormat, SoRenderToTextureProperty *renderToTexProp, int wrapS, int wrapT, int wrapR, int model, const SbColor &blendColor, float maxAnisotropy, SbBool enableBorder, const SbVec4f &borderColor, SbBool isCompressed, int numCompressedMipmaps, int hasTransparency=-1, int currentTexture=-1) |
static void | set (SoState *state, SoNode *node, const SbVec2i32 &size, int numComponents, const void *buffer, SoBufferObject *bufferObject, SoSFImage::DataType dataType, GLint GLInternalFormat, SoRenderToTextureProperty *renderToTexProp, int wrapS, int wrapT, int wrapR, int model, const SbColor &blendColor, float maxAnisotropy, const int &minFilter, const int &magFilter, SbBool enableBorder, const SbVec4f &borderColor, SbBool isCompressed, int numCompressedMipmaps, int hasTransparency=-1, int currentTexture=-1) |
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) |
static void | get (SoState *state, int &_minFilter, int &_magFilter, float &_maxAnisotropy, int unit=0) |
static void | set (SoState *state, SoNode *node, const SbVec2i32 &subSize, int xoffset, int yoffset, const void *buffer, int texname) |
static SbBool | containsTransparency (SoState *state, int unit=0) |
static const void * | getDefault (SbVec2i32 &s, int &nc, SoSFImage::DataType &dataType, GLint &GLInternalFormat) |
Deprecated | |
| |
static SoDEPRECATED void | set (SoState *state, SoNode *node, const SbVec2s &size, int numComponents, const void *buffer, SoBufferObject *bufferObject, SoSFImage::DataType dataType, GLint GLInternalFormat, SoRenderToTextureProperty *renderToTexProp, int wrapS, int wrapT, int wrapR, int model, const SbColor &blendColor, float maxAnisotropy, SbBool enableBorder, const SbVec4f &borderColor, SbBool isCompressed, int numCompressedMipmaps, int hasTransparency=-1, int currentTexture=-1) |
static SoDEPRECATED void | set (SoState *state, SoNode *node, const SbVec2s &size, int numComponents, const void *buffer, SoBufferObject *bufferObject, SoSFImage::DataType dataType, GLint GLInternalFormat, SoRenderToTextureProperty *renderToTexProp, int wrapS, int wrapT, int wrapR, int model, const SbColor &blendColor, float maxAnisotropy, const int &minFilter, const int &magFilter, SbBool enableBorder, const SbVec4f &borderColor, SbBool isCompressed, int numCompressedMipmaps, int hasTransparency=-1, int currentTexture=-1) |
static SoDEPRECATED const void * | get (SoState *state, SbVec2s &size, int &numComponents, SoSFImage::DataType &dataType, GLint &GLInternalFormat, int &wrapS, int &wrapT, int &model, SbColor &blendColor, int unit=0) |
static SoDEPRECATED void | set (SoState *state, SoNode *node, const SbVec2s &subSize, int xoffset, int yoffset, const void *buffer, int texname) |
static SoDEPRECATED const void * | getDefault (SbVec2s &s, int &nc, SoSFImage::DataType &dataType, GLint &GLInternalFormat) |
Stores the current texture image.
This element stores the current texture image.
SoTexture2, SoExtTexture2, SoIndexedTexture2, SoTextureCubeMap, SoVRMLImageTexture, SoVRMLPixelTexture
static SbBool SoTextureImageElement::containsTransparency | ( | SoState * | state, | |
int | unit = 0 | |||
) | [static] |
Returns TRUE if the texture contains transparency info.
static SoDEPRECATED const void* SoTextureImageElement::get | ( | SoState * | state, | |
SbVec2s & | size, | |||
int & | numComponents, | |||
SoSFImage::DataType & | dataType, | |||
GLint & | GLInternalFormat, | |||
int & | wrapS, | |||
int & | wrapT, | |||
int & | model, | |||
SbColor & | blendColor, | |||
int | unit = 0 | |||
) | [static] |
Gets the current image, wrap, and model.
static void SoTextureImageElement::get | ( | SoState * | state, | |
int & | _minFilter, | |||
int & | _magFilter, | |||
float & | _maxAnisotropy, | |||
int | unit = 0 | |||
) | [static] |
Gets the current image minFilter, magFilter and maxAnisotropy.
static const void* SoTextureImageElement::get | ( | SoState * | state, | |
SbVec2i32 & | size, | |||
int & | numComponents, | |||
SoSFImage::DataType & | dataType, | |||
GLint & | GLInternalFormat, | |||
int & | wrapS, | |||
int & | wrapT, | |||
int & | model, | |||
SbColor & | blendColor, | |||
int | unit = 0 | |||
) | [static] |
Gets the current image, wrap, and model.
static int SoTextureImageElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoTextureImageElementBase.
Reimplemented in SoGLTextureImageElement.
static SoType SoTextureImageElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoTextureImageElementBase.
Reimplemented in SoGLTextureImageElement.
static SoDEPRECATED const void* SoTextureImageElement::getDefault | ( | SbVec2s & | s, | |
int & | nc, | |||
SoSFImage::DataType & | dataType, | |||
GLint & | GLInternalFormat | |||
) | [static] |
Returns the default texture image.
static const void* SoTextureImageElement::getDefault | ( | SbVec2i32 & | s, | |
int & | nc, | |||
SoSFImage::DataType & | dataType, | |||
GLint & | GLInternalFormat | |||
) | [static] |
Returns the default texture image.
static SoDEPRECATED void SoTextureImageElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec2s & | subSize, | |||
int | xoffset, | |||
int | yoffset, | |||
const void * | buffer, | |||
int | texname | |||
) | [static] |
Pass texname = -1 to deactivate subtexturing.
Subtexturing not active by default. In any case, the regular set method must be called.
static SoDEPRECATED void SoTextureImageElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec2s & | size, | |||
int | numComponents, | |||
const void * | buffer, | |||
SoBufferObject * | bufferObject, | |||
SoSFImage::DataType | dataType, | |||
GLint | GLInternalFormat, | |||
SoRenderToTextureProperty * | renderToTexProp, | |||
int | wrapS, | |||
int | wrapT, | |||
int | wrapR, | |||
int | model, | |||
const SbColor & | blendColor, | |||
float | maxAnisotropy, | |||
const int & | minFilter, | |||
const int & | magFilter, | |||
SbBool | enableBorder, | |||
const SbVec4f & | borderColor, | |||
SbBool | isCompressed, | |||
int | numCompressedMipmaps, | |||
int | hasTransparency = -1 , |
|||
int | currentTexture = -1 | |||
) | [static] |
Sets the current image, wrap, and model plus minFilter and magFilter.
static SoDEPRECATED void SoTextureImageElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec2s & | size, | |||
int | numComponents, | |||
const void * | buffer, | |||
SoBufferObject * | bufferObject, | |||
SoSFImage::DataType | dataType, | |||
GLint | GLInternalFormat, | |||
SoRenderToTextureProperty * | renderToTexProp, | |||
int | wrapS, | |||
int | wrapT, | |||
int | wrapR, | |||
int | model, | |||
const SbColor & | blendColor, | |||
float | maxAnisotropy, | |||
SbBool | enableBorder, | |||
const SbVec4f & | borderColor, | |||
SbBool | isCompressed, | |||
int | numCompressedMipmaps, | |||
int | hasTransparency = -1 , |
|||
int | currentTexture = -1 | |||
) | [static] |
Sets the current image, wrap, and model.
static void SoTextureImageElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec2i32 & | subSize, | |||
int | xoffset, | |||
int | yoffset, | |||
const void * | buffer, | |||
int | texname | |||
) | [static] |
Pass texname = -1 to deactivate subtexturing.
Subtexturing not active by default. In any case, the regular set method must be called.
static void SoTextureImageElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec2i32 & | size, | |||
int | numComponents, | |||
const void * | buffer, | |||
SoBufferObject * | bufferObject, | |||
SoSFImage::DataType | dataType, | |||
GLint | GLInternalFormat, | |||
SoRenderToTextureProperty * | renderToTexProp, | |||
int | wrapS, | |||
int | wrapT, | |||
int | wrapR, | |||
int | model, | |||
const SbColor & | blendColor, | |||
float | maxAnisotropy, | |||
const int & | minFilter, | |||
const int & | magFilter, | |||
SbBool | enableBorder, | |||
const SbVec4f & | borderColor, | |||
SbBool | isCompressed, | |||
int | numCompressedMipmaps, | |||
int | hasTransparency = -1 , |
|||
int | currentTexture = -1 | |||
) | [static] |
Sets the current image, wrap, and model plus minFilter and magFilter.
static void SoTextureImageElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const SbVec2i32 & | size, | |||
int | numComponents, | |||
const void * | buffer, | |||
SoBufferObject * | bufferObject, | |||
SoSFImage::DataType | dataType, | |||
GLint | GLInternalFormat, | |||
SoRenderToTextureProperty * | renderToTexProp, | |||
int | wrapS, | |||
int | wrapT, | |||
int | wrapR, | |||
int | model, | |||
const SbColor & | blendColor, | |||
float | maxAnisotropy, | |||
SbBool | enableBorder, | |||
const SbVec4f & | borderColor, | |||
SbBool | isCompressed, | |||
int | numCompressedMipmaps, | |||
int | hasTransparency = -1 , |
|||
int | currentTexture = -1 | |||
) | [static] |
Sets the current image, wrap, and model.