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

Stores the current texture override. More...

#include <Inventor/elements/SoTextureQualityElement.h>

+ Inheritance diagram for SoTextureOverrideElement:

Public Member Functions

virtual void push (SoState *state)
 Overrides push() method to copy values from next instance in the stack, and set up cache dependencies correctly.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- 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 SbBool getQualityOverride (SoState *state)
 Returns TRUE iff SoTextureQualityElement is overridden.
 
static SbBool getImageOverride (SoState *state)
 Returns TRUE iff SoTextureImageElement is overridden.
 
static void setQualityOverride (SoState *state, SbBool override)
 Sets override flag for SoTextureQualityElement.
 
static void setImageOverride (SoState *state, SbBool override)
 Sets override flag for SoTextureImageElement.
 
- 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.
 

Detailed Description

Stores the current texture override.

This element stores a flag for each type of element which can be overridden. Nodes implement override by setting the appropriate bit if their override flag is on, and ignoring overridden elements if the corresponding bit in the state's SoTextureOverrideElement is set.

SEE ALSO

Definition at line 134 of file SoTextureQualityElement.h.

Member Function Documentation

◆ getClassStackIndex()

static int SoTextureOverrideElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoTextureOverrideElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getImageOverride()

static SbBool SoTextureOverrideElement::getImageOverride ( SoState state)
static

Returns TRUE iff SoTextureImageElement is overridden.

◆ getQualityOverride()

static SbBool SoTextureOverrideElement::getQualityOverride ( SoState state)
static

Returns TRUE iff SoTextureQualityElement is overridden.

◆ print()

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

Prints element (for debugging).

Reimplemented from SoElement.

◆ push()

virtual void SoTextureOverrideElement::push ( SoState state)
virtual

Overrides push() method to copy values from next instance in the stack, and set up cache dependencies correctly.

Reimplemented from SoElement.

◆ setImageOverride()

static void SoTextureOverrideElement::setImageOverride ( SoState state,
SbBool  override 
)
static

Sets override flag for SoTextureImageElement.

◆ setQualityOverride()

static void SoTextureOverrideElement::setQualityOverride ( SoState state,
SbBool  override 
)
static

Sets override flag for SoTextureQualityElement.


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