Simplistic image data, currently only works with BMP. More...
#include <Image.h>
Public Member Functions | |
byte * | Pixels () |
int | Depth () |
int | Bbp () |
int | Width () |
int | Height () |
unsigned int | RMask () |
unsigned int | GMask () |
unsigned int | BMask () |
unsigned int | AMask () |
unsigned int * | PRed () |
unsigned int * | PGreen () |
unsigned int * | PBlue () |
unsigned int * | PAlpha () |
virtual void | ValidateMem () const |
virtual void | CheckMem () const |
Static Public Member Functions | |
static Image * | GetImage (const char *filename) |
Protected Attributes | |
byte * | m_pixels |
int | m_w |
int | m_h |
int | m_depth |
int | m_bpp |
unsigned int | m_rmask |
unsigned int | m_gmask |
unsigned int | m_bmask |
unsigned int | m_amask |
unsigned int | m_red [256] |
unsigned int | m_green [256] |
unsigned int | m_blue [256] |
unsigned int | m_alpha [256] |
Simplistic image data, currently only works with BMP.
Definition at line 33 of file Image.h.
Image * Image::GetImage | ( | const char * | filename | ) | [static] |