SDL standard library
SDL_DisplayMode Struct Reference
The structure that defines a display mode. More...
#include <SDL_video.h>
Data Fields | |
Uint32 | format |
pixel format | |
int | w |
width | |
int | h |
height | |
int | refresh_rate |
refresh rate (or zero for unspecified) | |
void * | driverdata |
driver-specific data, initialize to 0 |
Detailed Description
The structure that defines a display mode.
- See also:
- SDL_GetNumDisplayModes()
- SDL_GetDisplayMode()
- SDL_GetDesktopDisplayMode()
- SDL_GetCurrentDisplayMode()
- SDL_GetClosestDisplayMode()
- SDL_SetWindowDisplayMode()
- SDL_GetWindowDisplayMode()
Definition at line 53 of file SDL_video.h.
Field Documentation
void* driverdata |
driver-specific data, initialize to 0
Definition at line 59 of file SDL_video.h.
pixel format
Definition at line 55 of file SDL_video.h.
int h |
height
Definition at line 57 of file SDL_video.h.
int refresh_rate |
refresh rate (or zero for unspecified)
Definition at line 58 of file SDL_video.h.
int w |
width
Definition at line 56 of file SDL_video.h.
Generated on Tue Jul 12 2022 13:56:26 by 1.7.2