class MASKING_DLL_DECLSPEC GLDriver

Simple OpenGL/AllegroGL driver.

Inheritance:

GLDriver - ScreenUpdate


Public Methods

[more]bool RequiresFullRedraw()
This driver requires full redraw
[more]void Redraw()
Performs a GL flip


Documentation

Simple OpenGL/AllegroGL driver. Draws to the screen and does an allegro_gl_flip() for every frame. This driver is most useful for applications that use OpenGL in a fullscreen context (i.e. games). It's the fastest OpenGL driver you'll get (for pure OpenGL graphics) but has a few drawbacks. Some Allegro drawing primitives are not supported and others are very slow. This means that for this driver font antialiasing and mouse shadows have to be turned off (this is done automatically).

Note: At present (v0.80) there seem to be some problems with this driver that prevent most normal Allegro graphics features from working when this driver is used.

obool RequiresFullRedraw()
This driver requires full redraw

ovoid Redraw()
Performs a GL flip


This class has no child classes.

Alphabetic index Hierarchy of classes


Back to front page   |   page generated with DOC++