Renderer.size

Wraps SDL_GetRendererOutputSize which gets the renderer output's size

class Renderer
const @property @trusted
uint[2]
size
()

Return Value

Type: uint[2]

drawable size of the renderer's output/target

Throws

dsdl2.SDLException if failed to get the renderer output size

Meta