POLYTYPE_GCOL(3alleg4)
π NAME π
POLYTYPE_GCOL β a polygon rendering mode type from the Allegro game programming library, bestie. It's a whole vibe. π
β¨ SYNOPSIS β¨
#include <allegro.h>
#define POLYTYPE_GCOL
π¦ DESCRIPTION π¦
Okay so picture this: a single-color gouraud shaded polygon. That's the whole girl. π
The colors for each vertex are taken from the c value, and then interpolated across the polygon. It's giving smooth-blend realness. And the tea? this thing is very fast π₯ β but there's a catch, and you know I'm gonna tell you.
It will only work in 256-color modes if your palette contains a smooth gradient between the colors. If your palette is a chaotic mess with no gradient, no cap, it's not gonna look right. π
In truecolor modes, though? It interprets the color as a packed, display-format value as produced by the makecol() function. Periodt. π
π SEE ALSO π
Go read those too, bestie, they're iconic. π
That's the whole page, fr fr β brought to you by Allegro, version 4.4.3. Stay slay, keep interpolating those vertices, and I'll see you in the next manpage. π«Άπ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms