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.

Syntax
Luau
imgui.setvsync(enabled: boolean) -> ()

Parameters

Function parameters
ParameterTypeDescription
enabledbooleantrue to enable the preference; false to disable it.

Returns

()

This function returns no values.

Example

Example
Luau
imgui.setvsync(true)
Kawaii documentation