csGraphics2DGLCommon Class Reference
Basic OpenGL version of the 2D driver class. More...
Public Member Functions
|csGraphics2DGLCommon (iBase *iParent)|
|Constructor does little, most initialization stuff happens in Initialize(). |
|virtual bool||Initialize (iObjectRegistry *object_reg)|
|Initialize the plugin. |
|Clear font cache etc. |
Basic OpenGL version of the 2D driver class.
You can look at one of the OpenGL canvas classes as an example of how to inherit and use this class. In short, inherit from this common class instead of from csGraphics2D, and override all the functions you normally would except for the 2D drawing functions, which are supplied for you here. That way all OpenGL drawing functions are unified over platforms, so that a fix or improvement will be inherited by all platforms instead of percolating via people copying code over.
Constructor & Destructor Documentation
Constructor does little, most initialization stuff happens in Initialize().
Clear font cache etc.
Member Function Documentation
|virtual bool csGraphics2DGLCommon::Initialize||(||iObjectRegistry *||object_reg||)||
Initialize the plugin.
Reimplemented from CS::PluginCommon::GL::Graphics2DCommon.
The documentation for this class was generated from the following file:
Generated for Crystal Space 2.1 by doxygen 1.6.1