Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SDL_Color(3)		       SDL API Reference		  SDL_Color(3)

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 con-
       vert a SDL_Color	to a pixel value for  a	 certain  pixel	 format	 using
       SDL_MapRGB.

SEE ALSO
       SDL_PixelFormat,	SDL_SetColors, SDL_Palette

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

NAME | STRUCTURE DEFINITION | STRUCTURE DATA | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SDL_Color&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help