Renderer.window

Wraps SDL_RenderGetWindow (from SDL 2.0.22) which gets a dsdl2.Window proxy to the window associated with the renderer

class Renderer
inout @property @trusted
static if(sdlSupport >= SDLSupport.v2_0_22)
inout(Window)
window
()

Return Value

Type: inout(Window)

dsdl2.Window proxy to the window

Throws

dsdl2.SDLException if failed to get window

Meta