POLYTYPE_ATEX_MASK(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ 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 as POLYTYPE_ATEX and POLYTYPE_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