---
name: "POLYTYPE_GCOL"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/POLYTYPE_GCOL"
---

# POLYTYPE\_GCOL(3alleg)

Polygon rendering mode type Allegro game programming library.

## NAME

POLYTYPE\_GCOL - Polygon rendering mode type Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**#define POLYTYPE\_GCOL**

## DESCRIPTION

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.

## SEE ALSO

[**polygon3d**(3alleg)](/polygon3d/3alleg.md), [**makecol**(3alleg)](/makecol/3alleg.md), [**ex3d**(3alleg)](/ex3d/3alleg.md), [**exscn3d**(3alleg)](/exscn3d/3alleg.md), [**exzbuf**(3alleg)](/exzbuf/3alleg.md)
