POLYTYPE_ATEX_TRANS(3)

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

✨ 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