Display.displayModes

Wraps SDL_GetNumDisplayModes and SDL_GetDisplayMode which get return a list of the available display modes of the display

class Display
const @property @trusted
displayModes
()

Return Value

Type: DisplayMode[]

array of the dsdl2.DisplayModes

Throws

dsdl2.SDLException if failed to get the display modes

Meta