.\" Automatically generated by Pandoc 3.4 .\" .TH "ALLEGRO_DISPLAY_MODE" "3" "" "Allegro reference manual" .SH NAME ALLEGRO_DISPLAY_MODE \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] \f[B]typedef\f[R] \f[B]struct\f[R] ALLEGRO_DISPLAY_MODE .EE .SH DESCRIPTION Used for fullscreen mode queries. Contains information about a supported fullscreen modes. .IP .EX \f[B]typedef\f[R] \f[B]struct\f[R] ALLEGRO_DISPLAY_MODE { int width; \f[I]// Screen width\f[R] int height; \f[I]// Screen height\f[R] int format; \f[I]// The pixel format of the mode\f[R] int refresh_rate; \f[I]// The refresh rate of the mode\f[R] } ALLEGRO_DISPLAY_MODE; .EE .PP The \f[CR]refresh_rate\f[R] may be zero if unknown. .PP For an explanation of what \f[CR]format\f[R] means, see ALLEGRO_PIXEL_FORMAT(3). .SH SEE ALSO al_get_display_mode(3)