Function Renderer.setVSync
Wraps SDL_RenderSetVSync
which sets whether vertical synchronization should be enabled
void setVSync
(
bool vSync
) @trusted;
Parameters
Name | Description |
---|---|
vSync | true to enable v-sync, otherwise false |
Throws
dsdl2
if failed to set v-sync