AL_SET_NEW_BITMAP_FORMAT(3)

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

✨ al_set_new_bitmap_format ✨

okay bestie, so this is from the Allegro 5 API fam β€” a little function that sets the vibe for every new bitmap you make from here on out πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_set_new_bitmap_format(int format)

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically, this one sets the pixel format β€” that's ALLEGRO_PIXEL_FORMAT(3), iykyk β€” for bitmaps that get created fresh from now on ✨

The default format is 0, and ngl that 0 is lowkey main character energy: it literally means the display driver will pick the best format for you πŸ‘‘ no cap, it just handles it.

πŸ’‘ it's giving "set it and forget it" β€” you call this once and every new bitmap after that inherits the vibe πŸŽ€

🌈 SEE ALSO 🌈


and that's the whole page, bestie β€” slay πŸ’…βœ¨

this iconic little entry comes to you courtesy of the Allegro reference manual, version vibes of al_set_new_bitmap_format(3) β€” see you in the next one, mwah πŸŽ€πŸ’œ

πŸ“¦ 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