Window.update - multiple declarations

Function Window.update

Wraps SDL_UpdateWindowSurface which makes the changes to the window's surface current

void update() @trusted;

Throws

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

Function 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

void update (
  Rect[] rects
) @trusted;

Parameters

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

Throws

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