Get a list of fullscreen display modes available on a display.
Defined in <SDL3/SDL_video.h>
extern SDL_DECLSPEC const SDL_DisplayMode **SDLCALL SDL_GetFullscreenDisplayModes(SDL_DisplayID displayID, int *count);
displayID | the instance ID of the display to query |
count | a pointer filled in with the number of display modes returned |
Returns a NULL terminated array of display mode pointers which should be freed with SDL_free(), or NULL on error; call SDL_GetError() for more details.
The display modes are sorted in this priority:
This function is available since SDL 3.0.0.