Function Display.currentDisplayMode

Wraps SDL_GetCurrentDisplayMode which gets the current display mode for the display

DisplayMode currentDisplayMode() @property @trusted const;

Returns

the current dsdl.DisplayMode

Throws

dsdl.SDLException if failed to get the current display mode