DisplayMode.this - multiple declarations
Function DisplayMode.this
Contructs a dsdl2
from a vanilla SDL_DisplayMode
from bindbc-sdl
ref this
(
sdl .video .SDL_DisplayMode sdlDisplayMode
) @safe;
Parameters
Name | Description |
---|---|
sdlDisplayMode | the SDL_DisplayMode struct |
Function DisplayMode.this
Constructs a dsdl2
by feeding it its attributes
ref this
(
const(PixelFormat) pixelFormat,
uint[2] size,
uint refreshRate,
void* driverData = null
) @safe;
Parameters
Name | Description |
---|---|
pixelFormat | pixel format |
size | size in pixels |
refreshRate | refresh rate per second |
driverData | internal driver data |