.\" Automatically generated by Pandoc 3.5 .\" .TH "al_get_d3d_device" "3" "" "Allegro reference manual" .SH NAME al_get_d3d_device \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] LPDIRECT3DDEVICE9 al_get_d3d_device(ALLEGRO_DISPLAY *display) .EE .SH DESCRIPTION Returns the Direct3D device of the display. The return value is undefined if the display was not created with the Direct3D flag. .PP \f[I]Returns:\f[R] A pointer to the Direct3D device.