SDL_Color
Name (Nom)
SDL_Color -- Format independent color description
Structure Definition (Definition de Structure)
1 typedef struct{
2 Uint8 r;
3 Uint8 g;
4 Uint8 b;
5 Uint8 unused;
6 } SDL_Color;
Structure Data (Structures de donnés)
r |
Red intensity |
rouge |
g |
Green intensity |
vert |
b |
Blue intensity |
bleu |
unused |
Unused |
non utilisé |
Description
SDL_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. SDL_Color décrit une couleur dans un format de manière indépendante. Vous pouvez convertir un SDL_Color d'une valeur de pixel pour un certain format de pixel en utilisant le SDL_MapRGB.
