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

List of all members.

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
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.

static SoType SoTextureImage3Element::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTextureImageElementBase.

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.


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

Open Inventor Toolkit reference manual, generated on 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/