1SDL_Color(3)                   SDL API Reference                  SDL_Color(3)
2
3
4

NAME

6       SDL_Color - Format independent color description
7

STRUCTURE DEFINITION

9       typedef struct{
10         Uint8 r;
11         Uint8 g;
12         Uint8 b;
13         Uint8 unused;
14       } SDL_Color;
15

STRUCTURE DATA

17       r                   Red intensity
18
19       g                   Green intensity
20
21       b                   Blue intensity
22
23       unused              Unused
24

DESCRIPTION

26       SDL_Color  describes  a color in a format independent way. You can con‐
27       vert a SDL_Color to a pixel value for  a  certain  pixel  format  using
28       SDL_MapRGB.
29

SEE ALSO

31       SDL_PixelFormat, SDL_SetColors, SDL_Palette
32
33
34
35SDL                         Tue 11 Sep 2001, 23:01                SDL_Color(3)
Impressum