Penguin

SDL_Color

SDL_Color

NAME STRUCTURE DEFINITION STRUCTURE DATA DESCRIPTION SEE ALSO


NAME

SDL_Color- Format independent color description

STRUCTURE DEFINITION

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

STRUCTURE DATA

r Red intensity

g Green intensity

b Blue intensity

unused Unused

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.

SEE ALSO

SDL_!PixelFormat?, SDL_!SetColors?, SDL_Palette


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

lib/main.php:944: Notice: PageInfo: Cannot find action page

lib/main.php:839: Notice: PageInfo: Unknown action