al_get_d3d_device
LPDIRECT3DDEVICE9 al_get_d3d_device(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
Returns the Direct3D device of the display. The return value is undefined if the display was not created with the Direct3D flag.
Returns: A pointer to the Direct3D device.
Examples: ex_d3d
Most helpful discussions: