RENDER_VSYNC


Description:

[ CCode ( cname = "SDL_HINT_RENDER_VSYNC" ) ]
public const string RENDER_VSYNC

A variable controlling whether updates to the SDL screen surface should be synchronized with the vertical refresh, to avoid tearing.

This variable can be set to the following values:

  • "0" - Disable vsync
  • "1" - Enable vsync

By default SDL does not sync screen surface updates with vertical refresh.


Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org