al_get_d3d_texture_position man page

al_get_d3d_texture_position — Allegro 5 API

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.

Parameters:

·
bitmap - ALLEGRO_BITMAP to examine
·
u - Will hold the returned u coordinate
·
v - Will hold the returned v coordinate

See Also

al_get_d3d_texture_size(3)

Referenced By

al_get_d3d_texture_size(3).

Allegro reference manual