Function Renderer.window

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

inout inout(Window) window() @property @trusted;

Returns

dsdl2.Window proxy to the window

Throws

dsdl2.SDLException if failed to get window