|
Manpages SDL_ColorSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 23:01 Index Return to Main Contents NAMESDL_Color- Format independent color descriptionSTRUCTURE DEFINITION
typedef struct{
Uint8 r;
Uint8 g;
Uint8 b;
Uint8 unused;
} SDL_Color;
STRUCTURE DATA
DESCRIPTIONSDL_Color describes a color in a format independent way. You can convert a SDL_Color to a pixel value for a certain pixel format using SDL_MapRGB. SEE ALSOSDL_PixelFormat, SDL_SetColors, SDL_Palette
IndexThis document was created by man2html, using the manual pages. Time: 10:58:22 GMT, September 12, 2026 |