Window.update

Wraps SDL_UpdateWindowSurfaceRects which makes the changes of certain parts of the window surface as defined by a list of dsdl2.Rects current

  1. void update()
  2. void update(Rect[] rects)
    class Window
    @trusted
    void
    update

Parameters

rects Rect[]

array of dsdl2.Rects defining parts of the window surface to update

Throws

dsdl2.SDLException if failed to update the window's changes

Meta