SoTextureImage3Element Class Reference
[Elements]

VSG extension Stores the current 3D texture image. More...

#include <Inventor/elements/SoTextureImage3Element.h>

Inheritance diagram for SoTextureImage3Element:
SoTextureImageElementBase SoReplacedTextureElement SoElement SoTypedObject SoGLTextureImage3Element

List of all members.

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node, const SbVec3s &size, int numComponents, const unsigned char *bytes, SoBufferObject *bufferObject, GLint GLInternalFormat, int wrapS, int wrapT, int wrapR, int model, const SbColor &blendColor, float maxAnisotropy, SbBool enableBorder, const SbVec4f &borderColor)
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)

Detailed Description

VSG extension Stores the current 3D texture image.

This element stores the current 3D texture image.

SEE ALSO

SoTexture3


Member Function Documentation

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.

Reimplemented in SoGLTextureImage3Element.

static SoType SoTextureImage3Element::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTextureImageElementBase.

Reimplemented in SoGLTextureImage3Element.

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.

Reimplemented in SoGLTextureImage3Element.

static void SoTextureImage3Element::set ( SoState state,
SoNode node,
const SbVec3s size,
int  numComponents,
const unsigned char *  bytes,
SoBufferObject bufferObject,
GLint  GLInternalFormat,
int  wrapS,
int  wrapT,
int  wrapR,
int  model,
const SbColor blendColor,
float  maxAnisotropy,
SbBool  enableBorder,
const SbVec4f borderColor 
) [static]

Sets the current image, wrap, and model.


The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/