Renderer.target

Wraps SDL_GetRenderTarget which gets the renderer's target

  1. inout(Texture) target()
    class Renderer
    inout @property @trusted
    inout(Texture)
    target
    ()
  2. void target(Texture newTarget)

Return Value

Type: inout(Texture)

null if the renderer uses the default target (usually the window), otherwise a dsdl2.Texture proxy to the the set texture target

Meta