|
Public Member Functions |
| RageSurfaceFormat () |
| RageSurfaceFormat (const RageSurfaceFormat &cpy) |
| ~RageSurfaceFormat () |
void | GetRGB (uint32_t val, uint8_t *r, uint8_t *g, uint8_t *b) const |
bool | MapRGBA (uint8_t r, uint8_t g, uint8_t b, uint8_t a, uint32_t &val) const |
uint32_t | MapNearestRGBA (uint8_t r, uint8_t g, uint8_t b, uint8_t a) const |
bool | operator== (const RageSurfaceFormat &rhs) const |
bool | Equivalent (const RageSurfaceFormat &rhs) const |
Public Attributes |
int32_t | BytesPerPixel |
int32_t | BitsPerPixel |
uint32_t | Mask [4] |
uint32_t | Shift [4] |
uint8_t | Loss [4] |
uint32_t & | Rmask |
uint32_t & | Gmask |
uint32_t & | Bmask |
uint32_t & | Amask |
uint32_t & | Rshift |
uint32_t & | Gshift |
uint32_t & | Bshift |
uint32_t & | Ashift |
RageSurfacePalette * | palette |