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