AL_GET_D3D_TEXTURE_POSITION(3)
π al_get_d3d_texture_position(3) π
okay so bestie, this page is from the Allegro reference manual (the Library Functions Manual, no cap), and it's all about the Allegro 5 API. Let's go. π«Άβ¨
πΈ NAME πΈ
al_get_d3d_texture_position β Allegro 5 API. That's the name, periodt. π
π¦ SYNOPSIS π¦
#include <allegro5/allegro_direct3d.h>
void al_get_d3d_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)
π DESCRIPTION π
Returns the u/v coordinates for the top/left corner of the bitmap within the used texture, in pixels. Literally that. It's giving "where exactly does this bitmap sit in the used texture?" energy. πβ¨
Parameters, bestie:
bitmapβ theALLEGRO_BITMAPto examine.uβ will hold the returned u coordinate.vβ will hold the returned v coordinate.
No cap, that's the whole description. π
π₯ SEE ALSO π₯
al_get_d3d_texture_size(3)β go check that one too, iykyk. π«Ά
bye bestie! π source/version: Allegro reference manual (Library Functions Manual); the printed footer repeats al_get_d3d...re_position(3) and has no separate date line. β¨
π¦ 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