Header Ads Widget

[MAN] SDL_Color

Content-type: text/html; charset=UTF-8 Man page of SDL_Color

SDL_Color

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
 

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


 

Index

NAME
STRUCTURE DEFINITION
STRUCTURE DATA
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:45:48 GMT, September 16, 2022

댓글 쓰기

0 댓글