polytype_grgb(3alleg4) php man page | unix.com

Man Page: polytype_grgb

Operating Environment: php

Section: 3alleg4

POLYTYPE_GRGB(3alleg4)						  Allegro manual					    POLYTYPE_GRGB(3alleg4)

NAME
POLYTYPE_GRGB - Polygon rendering mode type Allegro game programming library.
SYNOPSIS
#include <allegro.h> #define POLYTYPE_GRGB
DESCRIPTION
A gouraud shaded polygon which interpolates RGB triplets rather than a single color. In 256-color modes this uses the global rgb_map table to convert the result to an 8-bit paletted color, so it must only be used after you have set up the RGB mapping table! The colors for each vertex are taken from the `c' value, which is interpreted as a 24-bit RGB triplet (0xFF0000 is red, 0x00FF00 is green, and 0x0000FF is blue).
SEE ALSO
polygon3d(3alleg4), rgb_map(3alleg4), ex3d(3alleg4) Allegro version 4.4.2 POLYTYPE_GRGB(3alleg4)
Related Man Pages
rgb_map(3alleg4) - opendarwin
rgb_map(3alleg4) - suse
rgb_map(3alleg4) - plan9
rgb_map(3alleg4) - v7
rgb_map(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!