al_get_d3d_texture_position

void al_get_d3d_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)
Introduced in 5.0.0

Returns the u/v coordinates for the top/left corner of the bitmap within the used texture, in pixels.

Parameters: