1al_get_d3d_texture_position(3) al_get_d3d_texture_position(3)
2
3
4
6 al_get_d3d_texture_position - Allegro 5 API
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
26 al_get_d3d_texture_size(3)
27
28
29
30Allegro reference manual al_get_d3d_texture_position(3)