Solaris  - SDL_Color (3)

NAME

SDL_Color- Format independent color description

CONTENTS

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

advertisement

advertisement


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

Jump to page    or go to Top of page |  Section 3 |  OpenSolaris Man Main Index.


SDL SDL_Color (3) Tue 11 Sep 2001, 23:01
Generated by OpenSolaris Forum from /usr/share/man/man3/SDL_Color.3 using man macros.