1POLYTYPE_GRGB(3)                Allegro manual                POLYTYPE_GRGB(3)
2
3
4

NAME

6       POLYTYPE_GRGB  -  Polygon  rendering mode type Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       #define POLYTYPE_GRGB
14

DESCRIPTION

16       A gouraud shaded polygon which interpolates RGB triplets rather than  a
17       single  color. In 256-color modes this uses the global rgb_map table to
18       convert the result to an 8-bit paletted color, so it must only be  used
19       after you have set up the RGB mapping table! The colors for each vertex
20       are taken from the `c' value, which is  interpreted  as  a  24-bit  RGB
21       triplet (0xFF0000 is red, 0x00FF00 is green, and 0x0000FF is blue).
22
23

SEE ALSO

25       polygon3d(3), rgb_map(3), ex3d(3)
26
27
28
29Allegro                          version 4.2.3                POLYTYPE_GRGB(3)
Impressum