Syntax
imgui.setvsync(enabled: boolean)Arguments
| Name | Type | Description |
|---|---|---|
enabled | boolean | True to request vertical synchronization; false to request uncapped presentation. |
Description
Updates the ImGui renderer's vertical-synchronization preference. The current presentation path stores this preference but does not apply it.
Call it with 1 parameter(s): enabled. The argument table explains which values are required and which ones only refine the behavior.
It does not return data. Treat the call as an action and handle errors around the call site when needed.
Example
Example call with placeholder values.
imgui.setvsync(true)