SDL_PixelFormat
A structure that contains pixel format information.
Data Fields
palette |
|
Uint8 |
BitsPerPixel |
Uint8 |
BytesPerPixel |
Uint8 |
Rloss |
Uint8 |
Gloss |
Uint8 |
Bloss |
Uint8 |
Aloss |
Uint8 |
Rshift |
Uint8 |
Gshift |
Uint8 |
Bshift |
Uint8 |
Bshift |
Uint8 |
Ashift |
Uint32 |
Rmask |
Uint32 |
Gmask |
Uint32 |
Bmask |
Uint32 |
Amask |
Code Examples
You can add your code example here
Remarks
Everything in the pixel format structure is read-only.
Related Structures
