DisplayMode.getDesktopMode

Returns the desktop video mode at the given display

Note: There's a difference between this and getMode when your application runs in fullscreen and has changed the resolution. In that case this function will return the previous native display mode, and not the current display mode.

struct DisplayMode
@nogc static
getDesktopMode
nothrow
(
ubyte display = 0
)

Meta