al_get_bitmap_depth(3alleg5)
β¨ 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
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms