love.window.getVSync
Available since LÖVE 11.3 |
This function is not supported in earlier versions. |
Gets current vertical synchronization (vsync).
Function
Synopsis
vsync = love.window.getVSync( )
Arguments
None.
Returns
number vsync
- Current vsync status. 1 if enabled, 0 if disabled, and -1 for adaptive vsync.
Notes
This can be less expensive alternative to love.window.getMode if you want to get current vsync status.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info