al_get_d3d_texture_position(3)

al_get_d3d_texture_position3

Allegro 5 api

Usage

#include <allegro5/allegro_direct3d.h>
void al_get_d3d_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)

Overview

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.