Stores the current texture override. More...
#include <Inventor/elements/SoTextureQualityElement.h>
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) |
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.
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.
Returns TRUE iff SoTextureImageElement is overridden.
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] |
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.