ALLEGRO_WRITE_MASK_FLAGS(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– ALLEGRO_WRITE_MASK_FLAGS(3) πŸ’–

okay so this is from the Library Functions Manual and it's the Allegro 5 API page for ALLEGRO_WRITE_MASK_FLAGS(3) β€” bestie, we're talking write masks and it's lowkey iconic ✨

✨ NAME ✨

ALLEGRO_WRITE_MASK_FLAGS β€” Allegro 5 API. That's the whole name vibe, fr fr. πŸ’…

🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

typedef enum ALLEGRO_WRITE_MASK_FLAGS {

Yes, the enum opening is exactly that β€” no cap, that's what the page says. 🫢

πŸŽ€ DESCRIPTION πŸŽ€

The way this works is a whole bit situation: each enabled bit means the corresponding value is written, and each disabled bit means it is not. That's the vibe check. πŸ’–

Here are the flag besties:

  • ALLEGRO_MASK_RED β€” the red bit. Enabled = written, disabled = not. πŸ“
  • ALLEGRO_MASK_GREEN β€” the green bit. Same enabled/disabled situation. 🌱
  • ALLEGRO_MASK_BLUE β€” the blue bit. You already know. πŸ’™
  • ALLEGRO_MASK_ALPHA β€” the alpha bit. Enabled means alpha gets written, disabled means nope. πŸ¦‹
  • ALLEGRO_MASK_DEPTH β€” the depth bit. Same deal, no cap. 🌈
  • ALLEGRO_MASK_RGB β€” literally the same as RED | GREEN | BLUE. Periodt. πŸ”₯
  • ALLEGRO_MASK_RGBA β€” literally the same as RGB | ALPHA. Ate. πŸ‘‘

πŸ•°οΈ SINCE πŸ•°οΈ

This one has been around since 5.1.2, bestie. Vintage-ish but still main character energy. ✨

πŸ‘€ SEE ALSO πŸ‘€


Allegro reference manual πŸ’– β€” page ALLEGRO_WRITE_MASK_FLAGS(3). The footer didn't give me a date, so I'm not inventing one, bestie πŸ™ˆ.

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms