Window.displayMode - multiple declarations
Function Window.displayMode
Wraps SDL_GetWindowDisplayMode
which gets the window's display mode attributes
Returns
dsdl2
storing the attributes
Throws
dsdl2
if failed to get the display mode
Function Window.displayMode
Wraps SDL_SetWindowDisplayMode
which sets new display mode attributes to the window
Parameters
Name | Description |
---|---|
newDisplayMode | dsdl2 containing the desired attributes |
Throws
dsdl2
if failed to set the display mode