logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_Color - Format independent color description

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.

Name

       SDL_Color - Format independent color description

See Also

SDL_PixelFormat, SDL_SetColors, SDL_Palette

SDL                                          Tue 11 Sep 2001, 23:01                                 SDL_Color(3)

Structure Data

r                   Red intensity

       g                   Green intensity

       b                   Blue intensity

       unused              Unused

Structure Definition

       typedef struct{
         Uint8 r;
         Uint8 g;
         Uint8 b;
         Uint8 unused;
       } SDL_Color;

See Also