POLYTYPE_ATEX_TRANS(3)
β¨ NAME β¨
POLYTYPE_ATEX_TRANS, POLYTYPE_PTEX_TRANS β bestie, these are polygon rendering mode types from the Allegro game programming library π
πΈ SYNOPSIS πΈ
#include <allegro.h>
#define POLYTYPE_ATEX_TRANS
#define POLYTYPE_PTEX_TRANS
π¦ DESCRIPTION π¦
Okay so. These two are your translucent texture rendering modes β¨ They draw textures you can see through, which is iconic and we love that for them.
Every single general rule for drawing translucent things still applies here β no skipping, no shortcuts, the whole ruleset, periodt π
But here's the tea, and it's a big one: these modes have a major limitation. They only work with memory bitmaps or linear frame buffers. They do not work with banked frame buffers. Not even a little.
π¨ Bestie, do NOT even try it with banked frame buffers. They don't check. There's no safety net, no warning, no gentle nudge. Your program will die horribly β or at minimum, draw completely wrong things ππ Consider yourself warned fr fr.
π SEE ALSO π
Allegro version 4.4.3 π that's the whole page bestie, go forth and render translucently (just, like, not on banked frame buffers, okay? π«Ά) β¨π
π¦ 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