al_get_bitmap_samples(3alleg5)

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

✨ NAME ✨

al_get_bitmap_samples β€” the Allegro 5 API function that spills the tea on how many multi-sampling samples your bitmap is working with πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

int al_get_bitmap_samples(ALLEGRO_BITMAP *bitmap)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie so here's the vibe: this lil function hands you back the multi-sampling samples that this bitmap uses, but only if the bitmap is being used with al_set_target_bitmap(3alleg5). that's the whole thing. that's the gig. no cap. πŸŽ€

like, it's literally just asking your bitmap "hey queen, how many samples you got?" and she tells you. iconic behavior honestly.


⭐ SINCE ⭐

5.2.1</purl> β€” wait, let me fix that: 5.2.1 ✨

[Unstable API]: 🚨 bestie listen β€” this is an experimental feature and right now it only works for the OpenGL backend. so if you're out here on some other backend, this is giving ✨nothing✨. don't say I didn't warn you πŸ’€

and that's the whole page, mwah 🫢 tysm for reading, you ate that fr fr. this lil diva lives in the Allegro reference manual and she's filed under al_get_bitmap_samples(3alleg5) β€” go off, stan, see you in the next man page πŸ‘‘πŸ’–πŸŒˆ

πŸ“¦ where this page comes from