logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_d3d_texture_position - Allegro 5 API

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

Name

       al_get_d3d_texture_position - Allegro 5 API

See Also

al_get_d3d_texture_size(3alleg5)

Allegro reference manual                                                    al_get_d3d_texture_position(3alleg5)

Synopsis

              #include <allegro5/allegro_direct3d.h>

              void al_get_d3d_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)

See Also