Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoTextureImageElementBase Class Reference

Stores the current texture image. More...

#include <Inventor/elements/SoTextureImageElementBase.h>

+ Inheritance diagram for SoTextureImageElementBase:

Public Types

enum  Target {
  TEXTURE2D = GL_TEXTURE_2D ,
  TEXTURECUBEMAP = GL_TEXTURE_CUBE_MAP
}
 Target. More...
 

Public Member Functions

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.
 

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 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.
 

Friends

class SoVRMLAppearance
 

Detailed Description

Stores the current texture image.

This element stores the current texture image.

SEE ALSO

SoTexture2, SoExtTexture2, SoIndexedTexture2, SoTextureCubeMap,

Definition at line 77 of file SoTextureImageElementBase.h.

Member Enumeration Documentation

◆ Target

Target.

Enumerator
TEXTURE2D 

TEXTURE2D.

TEXTURECUBEMAP 

TEXTURECUBEMAP.

Definition at line 86 of file SoTextureImageElementBase.h.

Member Function Documentation

◆ getClassStackIndex()

static int SoTextureImageElementBase::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoTextureImageElementBase::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ print()

virtual void SoTextureImageElementBase::print ( FILE *  fp) const
virtual

Print info about image for debugging.

Reimplemented from SoReplacedTextureElement.

◆ push()

virtual void SoTextureImageElementBase::push ( SoState state)
virtual

Overrides push() method to copy values from next instance in the stack.

Reimplemented from SoReplacedTextureElement.

Friends And Related Symbol Documentation

◆ SoVRMLAppearance

friend class SoVRMLAppearance
friend

Definition at line 305 of file SoTextureImageElementBase.h.


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