55#ifndef _SO_WINDOW_ELEMENT
56#define _SO_WINDOW_ELEMENT
60#if defined(WIN32) || (defined(__APPLE__) && !defined(APPLE_GLX))
102#elif defined(__APPLE__) && !defined(APPLE_GLX)
106 static void set(
SoState *state,
void *window,
void *context,
#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.
Renders a scene graph using OpenGL.
An SoState collects and holds state while traversing a scene graph.
This is a legacy element which should not be used.
static void set(SoState *state, void *window, void *context, void *display, SoGLRenderAction *glAction)
Sets the window, context and glRenderAction info.
virtual void push(SoState *state)
Pushes/pops element.
SoGLRenderAction * glRenderAction
virtual ~SoWindowElement()
static void initClass()
Initializes the SoWindowElement class.
static void get(SoState *state, Window &window, GLXContext &context, Display *&display, SoGLRenderAction *&glAction)
Returns the current window, context and glRenderAction.
virtual bool matches(const SoElement *elt) const
Always returns TRUE, since this element should never be a criterion for cache invalidation.
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element.
virtual void init(SoState *state)
Initializes element.