csGLFontCache Class Reference
[Common Plugin Classes]
OpenGL font cache.
More...
#include <csplugincommon/opengl/glfontcache.h>
Inheritance diagram for csGLFontCache:
Public Member Functions | |
void | DumpFontCache (csRefArray< iImage > &pages) |
Create images of all the texture pages used for caching. | |
void | FlushText () |
Flush the cached text vertices. | |
void | Setup () |
Read configuration etc. | |
virtual void | WriteString (iFont *font, int pen_x, int pen_y, int fg, int bg, const void *text, bool isWide, uint flags) |
Draw a string using OpenGL, where the baseline starts at x,y. |
Detailed Description
OpenGL font cache.
Definition at line 44 of file glfontcache.h.
Member Function Documentation
void csGLFontCache::DumpFontCache | ( | csRefArray< iImage > & | pages | ) |
Create images of all the texture pages used for caching.
void csGLFontCache::FlushText | ( | ) |
Flush the cached text vertices.
The text writer caches some text (and sets some needed states). Before drawing anything else, the text cache has to be flushed (and the states reset).
void csGLFontCache::Setup | ( | ) |
Read configuration etc.
The documentation for this class was generated from the following file:
- csplugincommon/opengl/glfontcache.h
Generated for Crystal Space by doxygen 1.4.7