Renderer.clipRect

Wraps SDL_RenderSetClipRect which sets or removes the clipping dsdl2.Rect of the renderer

  1. Rect clipRect()
  2. void clipRect(Rect newRect)
  3. void clipRect(typeof(null) _)
  4. void clipRect(Nullable!Rect newRect)
    class Renderer
    @property @trusted
    void
    clipRect
    (
    Nullable!Rect newRect
    )

Parameters

newRect Nullable!Rect

dsdl2.Rect to set as the clipping rectangle; null to remove the clipping rectangle

Meta