al_get_d3d_texture_size(3)

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

πŸ’– 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 true on success and false on 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 πŸ¦‹


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