CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

csGLScreenShot Class Reference

Inheritance diagram for csGLScreenShot:

csImageBase iImage iBase List of all members.

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

csGLScreenShotpoolNext
 SCF_DECLARE_IBASE

Detailed Description

Definition at line 28 of file glss.h.


Member Function Documentation

virtual int csGLScreenShot::GetFormat  )  const [inline, virtual]
 

Qyery image format (see CS_IMGFMT_XXX above).

Implements iImage.

Definition at line 50 of file glss.h.

virtual int csGLScreenShot::GetHeight  )  const [inline, virtual]
 

Query image height.

Implements iImage.

Definition at line 48 of file glss.h.

virtual const void* csGLScreenShot::GetImageData  )  [inline, virtual]
 

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.

Definition at line 44 of file glss.h.

virtual int csGLScreenShot::GetWidth  )  const [inline, virtual]
 

Query image width.

Implements iImage.

Definition at line 46 of file glss.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4