GlWindowInterface Class Reference

Abstract base class that wraps the interface between OpenGL and a particular windowing system. More...

#include <gfx/glwindowinterface.h>

Inheritance diagram for GlWindowInterface:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~GlWindowInterface ()
 Virtual destructor.
virtual bool isDirect () const =0
 Query whether rendering context has direct access to the hardware.
virtual bool isDoubleBuffered () const =0
 Query whether the rendering context is double-buffered.
virtual unsigned int bitsPerPixel () const =0
 Get the bit depth of the draw buffer(s).
virtual void makeCurrent ()=0
 Make our rendering context the current active one.
virtual void onReshape (int width, int height)=0
 Should be called when the corresponding window's geometry is changed.
virtual void swapBuffers () const =0
 Swaps buffers if in double-buffering mode.


Detailed Description

Abstract base class that wraps the interface between OpenGL and a particular windowing system.

Definition at line 46 of file glwindowinterface.h.


The documentation for this class was generated from the following files:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:54:33 2008 by Doxygen version 1.5.5.