My Project
|
#include <SDL_pixels.h>
Data Fields | |
Uint8 | r |
Uint8 | g |
Uint8 | b |
Uint8 | a |
The bits of this structure can be directly reinterpreted as an integer-packed color which uses the SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little-endian systems and SDL_PIXELFORMAT_RGBA8888 on big-endian systems).