DOKK / manpages / debian 10 / allegro4-doc / POLYTYPE_GCOL.3alleg4.en
POLYTYPE_GCOL(3alleg4) Allegro manual POLYTYPE_GCOL(3alleg4)

POLYTYPE_GCOL - Polygon rendering mode type Allegro game programming library.

#include <allegro.h>

#define POLYTYPE_GCOL

A single-color gouraud shaded polygon. The colors for each vertex are taken from the `c' value, and interpolated across the polygon. This is very fast, but will only work in 256-color modes if your palette contains a smooth gradient between the colors. In truecolor modes it interprets the color as a packed, display-format value as produced by the makecol() function.

polygon3d(3alleg4), makecol(3alleg4), ex3d(3alleg4), exscn3d(3alleg4), exzbuf(3alleg4)

version 4.4.2 Allegro