csGLScreenShot Class Reference
[Common Plugin Classes]
OpenGL screen shot.
More...
#include <csplugincommon/opengl/glss.h>
Inheritance diagram for csGLScreenShot:

Public Member Functions | |
virtual int | GetFormat () const |
Qyery image format (see CS_IMGFMT_XXX above). | |
virtual int | GetHeight () const |
Query image height. | |
virtual const void * | GetImageData () |
Get image data: returns either (csRGBpixel *) or (unsigned char *) depending on format. | |
virtual int | GetWidth () const |
Query image width. | |
Public Attributes | |
csGLScreenShot * | poolNext |
SCF_DECLARE_IBASE |
Detailed Description
OpenGL screen shot.
Definition at line 38 of file glss.h.
Member Function Documentation
|
Qyery image format (see CS_IMGFMT_XXX above).
Implements iImage. |
|
Query image height.
Implements iImage. |
|
Get image data: returns either (csRGBpixel *) or (unsigned char *) depending on format. Note that for RGBA images the csRGBpixel structure contains the alpha channel as well, so GetAlpha (see below) method will return 0 (because alpha is not stored separately, as for paletted images). Implements iImage. |
|
Query image width.
Implements iImage. |
The documentation for this class was generated from the following file:
- csplugincommon/opengl/glss.h
Generated for Crystal Space by doxygen 1.4.6