SoTextureOverrideElement Class Reference
[Elements]

Stores the current texture override. More...

#include <Inventor/elements/SoTextureQualityElement.h>

Inheritance diagram for SoTextureOverrideElement:
SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void push (SoState *state)
virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static SbBool getQualityOverride (SoState *state)
static SbBool getImageOverride (SoState *state)
static void setQualityOverride (SoState *state, SbBool override)
static void setImageOverride (SoState *state, SbBool override)

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


Member Function Documentation

static int SoTextureOverrideElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoElement.

static SoType SoTextureOverrideElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoElement.

static SbBool SoTextureOverrideElement::getImageOverride ( SoState state  )  [static]

Returns TRUE iff SoTextureImageElement is overridden.

static SbBool SoTextureOverrideElement::getQualityOverride ( SoState state  )  [static]

Returns TRUE iff SoTextureQualityElement is overridden.

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

Prints element (for debugging).

Reimplemented from SoElement.

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.

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

Sets override flag for SoTextureImageElement.

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:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/