Renderer.target

Wraps SDL_SetRenderTarget which sets the renderer's target

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

Parameters

newTarget Texture

null to set the target to be the default target (usually the window), or a valid target dsdl2.Texture as the texture target

Throws

dsdl2.SDLException if failed to set the renderer's target

Meta