al_get_d3d_texture_size(3)
π NAME π
okay so bestie, this is al_get_d3d_texture_size from the Allegro reference manual β yes, the Allegro 5 API one β and she is literally here to tell you the Direct3D texture size used for a bitmap. β¨
π SYNOPSIS π
#include <allegro5/allegro_direct3d.h>
bool al_get_d3d_texture_size(ALLEGRO_BITMAP *bitmap, int *width, int *height)
π DESCRIPTION π
This one lowkey retrieves the size of the Direct3D texture used for the bitmap. No cap. π«Ά
- Returns
trueon success andfalseon failure β periodt. - If the bitmap is not a Direct3D bitmap, you get zero width and height back. Literally zeros, bestie. π
πΈ SINCE πΈ
5.1.0 β sheβs been around since then, iconic behavior. π
π¦ SEE ALSO π¦
al_get_d3d_texture_position(3)β go check that one too, iykyk.
okay thatβs the whole page, bestie β brought to you by the Allegro reference manual π and, um, the original footer didnβt give us a date, so no invented date, just source/version vibes and a cute little sign-off. π«Άβ¨
π¦ 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