al_get_bitmap_depth(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_get_bitmap_depth β€” it's the Allegro 5 API, bestie πŸ’– (yes that's the whole vibe of the page, we're in al_get_bitmap_depth(3alleg5) territory, stay with me)


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

int al_get_bitmap_depth(ALLEGRO_BITMAP *bitmap)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you hand this function a bitmap, and it hands you back the depthbuffer depth that this bitmap uses β€” but only if that bitmap is being used with al_set_target_bitmap(3alleg5). That's the whole thing. That's the function. Short king, honestly. πŸ‘‘


πŸ’… SINCE πŸ’…

5.2.1 β€” so it's been around for a minute, no cap.

[Unstable API]: 🚨 this one is an experimental feature, like lowkey still in its testing era, and currently it only works for the OpenGL backend. So don't come for it when your other backends act confused. It said what it said. πŸ’€

And that's a wrap, my love 🫢 β€” this lil page came straight outta the Allegro reference manual, filed under al_get_bitmap_depth(3alleg5). Go forth and query those depths, you absolute icon. Periodt. βœ¨πŸŽ€

πŸ“¦ where this page comes from