Function Renderer.setVSync

Wraps SDL_RenderSetVSync which sets whether vertical synchronization should be enabled

void setVSync (
  bool vSync
) @trusted;

Parameters

NameDescription
vSync true to enable v-sync, otherwise false

Throws

dsdl2.SDLException if failed to set v-sync