imgui. setvsync Synchronous
Set the ImGui vertical-sync preference exposed by this compatibility API. The current implementation stores the boolean but does not change the rendering loop.
Luau
imgui.setvsync(enabled: boolean) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | true or false for the stored preference. |
Returns
()No values.
Usage notes
Use setfpscap if you need the separate runtime frame-rate cap; setvsync is not an FPS limiter in this build.
Example
Luau
imgui.setvsync(true)