Struct DisplayMode
D struct that wraps SDL_DisplayMode
containing display mode information
Constructors
Name | Description |
this
(sdlDisplayMode)
|
Contructs a dsdl2.DisplayMode from a vanilla SDL_DisplayMode from bindbc-sdl
|
this
(pixelFormat, size, refreshRate, driverData)
|
Constructs a dsdl2.DisplayMode by feeding it its attributes
|
Properties
Name | Type | Description |
height [get]
|
inout(uint) | Proxy to the height of the dsdl2.DisplayMode
|
sdlDisplayMode [get]
|
inout(sdl.video.SDL_DisplayMode) | Gets the internal SDL_DisplayMode representation
|
width [get]
|
inout(uint) | Proxy to the width of the dsdl2.DisplayMode
|
Methods
Name | Description |
toString
()
|
Formats the dsdl2.DisplayMode into its construction representation:
"dsdl2.DisplayMode(<pixelFormat>, <size>, <refreshRate>, <driverData>)"
|