Function Renderer.width

Wraps SDL_GetRendererOutputSize which gets the renderer output's width

uint width() @property @trusted const;

Returns

drawable width of the renderer's output/target

Throws

dsdl2.SDLException if failed to get the renderer output width