56#ifndef _SO_TEXTURE_QUALITY_ELEMENT
57#define _SO_TEXTURE_QUALITY_ELEMENT
114 TEXTURE_QUALITY = 0x1,
163 void pFlag(FILE *,
const char *,
int)
const;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
This is the abstract base class for all state elements.
Subclasses store a single float, int, or enum value.
static float get(int stackIndex, SoState *state)
Get value.
static void set(int stackIndex, SoState *state, float value)
Set value.
An SoState collects and holds state while traversing a scene graph.
Element that stores a flag for each type of element which can be overridden.
static bool getImageOverride(SoState *state)
Returns TRUE iff SoTextureImageElement is overridden.
virtual SoElement * copyMatchInfo() const
Copy method, copies flags.
virtual void push(SoState *state)
Overrides push() method to copy values from next instance in the stack, and set up cache dependencies...
virtual void print(FILE *fp) const
Prints element (for debugging)
virtual bool matches(const SoElement *elt) const
Comparison based on value of int32_ts.
static void setQualityOverride(SoState *state, bool override)
"set" methods for each element which can be overridden.
static bool getQualityOverride(SoState *state)
"get" methods for each element which can be overridden.
static void initClass()
Initializes the SoTextureOverrideElement class.
static void setImageOverride(SoState *state, bool override)
set override flag for SoTextureImageElement.
virtual void init(SoState *state)
Initializes element.
Element that stores the current texture quality.
virtual void init(SoState *state)
Initializes element.
static float getDefault()
Returns the default TextureQuality.
static void set(SoState *state, float qual)
Sets the current TextureQuality in the state.
static float get(SoState *state)
Returns current TextureQuality from the state.
virtual ~SoTextureQualityElement()
static void initClass()
Initializes the SoTextureQualityElement class.