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
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
s current
Parameters
Name | Description |
---|---|
rects | array of dsdl2 s defining parts of the window surface to update |
Throws
dsdl2
if failed to update the window's changes