POLYTYPE_ATEX_MASK(3)
β¨ NAME β¨
POLYTYPE_ATEX_MASK, POLYTYPE_PTEX_MASK β it's giving polygon rendering mode type, bestie π
and it lives in the Allegro game programming library.
πΈ SYNOPSIS πΈ
#include <allegro.h>
#define POLYTYPE_ATEX_MASK
#define POLYTYPE_PTEX_MASK
okay so literally just two #defines, no args, no drama, we love a low-maintenance icon π
π¦ DESCRIPTION π¦
So you already know POLYTYPE_ATEX and POLYTYPE_PTEX? These are them but with a glow-up β¨
The difference is tiny but iconic: texture map pixels that are zero get skipped. Like, straight up ghosted π» So parts of your texture map can be transparent, and the polygon behind them shows through. No cap, that's the whole vibe.
tl;dr: same asPOLYTYPE_ATEXandPOLYTYPE_PTEX, but zero texture map pixels are skipped, allowing parts of the texture map to be transparent. π
π SEE ALSO π
go read those too, they're all part of the same friend group π«Ά
and that's the whole page, bestie π this one came from the Allegro manual, version 4.4.3 β mwah, iconic, no notes πβ¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms