SDL_Color3
Format independent color description
Structure definition
typedef struct{Uint8 r;Uint8 g;Uint8 b;Uint8 unused;} SDL_Color;
Structure data
|
Red intensity |
|---|---|
|
Green intensity |
|
Blue intensity |
|
Unused |
Overview
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.
Releases
11 releases since Debian 3.0 (Woody); the text changed 1 time.