Function Renderer.size

Wraps SDL_GetRendererOutputSize which gets the renderer output's size

uint[2] size() @property @trusted const;

Returns

drawable size of the renderer's output/target

Throws

dsdl2.SDLException if failed to get the renderer output size