55#ifndef _SO_GL_RENDER_PASS_ELEMENT
56#define _SO_GL_RENDER_PASS_ELEMENT
92 virtual void print(FILE *fp)
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.
Element that stores the current rendering pass, a non-negative integer that can be used during multi-...
virtual bool matches(const SoElement *elt) const
Returns TRUE if the passes match in both elements.
static void initClass()
Initializes the SoGLRenderPassElement class.
virtual void print(FILE *fp) const
Prints element (for debugging)
static void set(SoState *state, int pass)
Sets the current rendering pass in the state.
virtual void init(SoState *state)
Initializes element.
static int get(SoState *state)
Returns current rendering pass from the state.
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element.
virtual ~SoGLRenderPassElement()
An SoState collects and holds state while traversing a scene graph.