Display.currentDisplayMode

Wraps SDL_GetCurrentDisplayMode which gets the current display mode for the display

class Display
const @property @trusted
currentDisplayMode
()

Return Value

the current dsdl2.DisplayMode

Throws

dsdl2.SDLException if failed to get the current display mode

Meta