OpenGL abstraction. More...
#include <_src_gfx_gfx.hh>
Public Member Functions | |
| CLASS_METHOD void | Begin2D (const Rect< int > &rect) |
| CLASS_METHOD void | Begin2D (void) |
| CLASS_METHOD void | End2D (void) |
| CLASS_METHOD void | DrawBox (const Rect< int > &rect, const RGBA color, const bool drawX=false) |
| CLASS_METHOD void | Vertex2D (fp x, fp y) |
OpenGL abstraction.
The GFX class is intended for when low-level OpenGL functions are called by an osg::Operation functor. OSG allows changes to OpenGL state in that situation and GFX makes no attempt to save/restore OpenGL state.
| void gfx::GFX::Begin2D | ( | const Rect< int > & | rect | ) |
Begin/end 2D drawing mode.
| void gfx::GFX::Begin2D | ( | void | ) |
Draw 2D box.
| void gfx::GFX::End2D | ( | void | ) |
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:11