Function Display.desktopDisplayMode

Wraps SDL_GetDesktopDisplayMode which gets the desktop display mode of the display

DisplayMode desktopDisplayMode() @property @trusted const;

Returns

the desktop dsdl2.DisplayMode

Throws

dsdl2.SDLException if failed to get the desktop display mode