1al_get_d3d_texture_position(L3i)brary Functions Manuaall_get_d3d_texture_position(3)
2
3
4
6 al_get_d3d_texture_position
7
9 #include <allegro5/allegro_direct3d.h>
10
11 void al_get_d3d_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)
12
14 Returns the u/v coordinates for the top/left corner of the bitmap
15 within the used texture, in pixels.
16
17 Parameters:
18
19 · bitmap - ALLEGRO_BITMAP to examine
20
21 · u - Will hold the returned u coordinate
22
23 · v - Will hold the returned v coordinate
24
25
26
27Allegro reference manual al_get_d3d_texture_position(3)