imgui. setvsync Synchronous
Set the ImGui vertical-synchronization preference. This currently stores the UI preference without changing the rendering loop. Do not use it as an FPS limiter; setfpscap is the separate cap API.
Luau
imgui.setvsync(enabled: boolean) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | true to enable the preference; false to disable it. |
Returns
()This function returns no values.
Example
Luau
imgui.setvsync(true)