|
@@ -1858,16 +1858,16 @@
|
|
[b]Note:[/b] This flag is implemented only on macOS.
|
|
[b]Note:[/b] This flag is implemented only on macOS.
|
|
</constant>
|
|
</constant>
|
|
<constant name="VSYNC_DISABLED" value="0" enum="VSyncMode">
|
|
<constant name="VSYNC_DISABLED" value="0" enum="VSyncMode">
|
|
- No vertical synchronization, which means the engine will display frames as fast as possible (tearing may be visible). Framerate is unlimited (nonwithstanding [member Engine.max_fps]).
|
|
|
|
|
|
+ No vertical synchronization, which means the engine will display frames as fast as possible (tearing may be visible). Framerate is unlimited (notwithstanding [member Engine.max_fps]).
|
|
</constant>
|
|
</constant>
|
|
<constant name="VSYNC_ENABLED" value="1" enum="VSyncMode">
|
|
<constant name="VSYNC_ENABLED" value="1" enum="VSyncMode">
|
|
- Default vertical synchronization mode, the image is displayed only on vertical blanking intervals (no tearing is visible). Framerate is limited by the monitor refresh rate (nonwithstanding [member Engine.max_fps]).
|
|
|
|
|
|
+ Default vertical synchronization mode, the image is displayed only on vertical blanking intervals (no tearing is visible). Framerate is limited by the monitor refresh rate (notwithstanding [member Engine.max_fps]).
|
|
</constant>
|
|
</constant>
|
|
<constant name="VSYNC_ADAPTIVE" value="2" enum="VSyncMode">
|
|
<constant name="VSYNC_ADAPTIVE" value="2" enum="VSyncMode">
|
|
- Behaves like [constant VSYNC_DISABLED] when the framerate drops below the screen's refresh rate to reduce stuttering (tearing may be visible). Otherwise, vertical synchronization is enabled to avoid tearing. Framerate is limited by the monitor refresh rate (nonwithstanding [member Engine.max_fps]). Behaves like [constant VSYNC_ENABLED] when using the Compatibility rendering method.
|
|
|
|
|
|
+ Behaves like [constant VSYNC_DISABLED] when the framerate drops below the screen's refresh rate to reduce stuttering (tearing may be visible). Otherwise, vertical synchronization is enabled to avoid tearing. Framerate is limited by the monitor refresh rate (notwithstanding [member Engine.max_fps]). Behaves like [constant VSYNC_ENABLED] when using the Compatibility rendering method.
|
|
</constant>
|
|
</constant>
|
|
<constant name="VSYNC_MAILBOX" value="3" enum="VSyncMode">
|
|
<constant name="VSYNC_MAILBOX" value="3" enum="VSyncMode">
|
|
- Displays the most recent image in the queue on vertical blanking intervals, while rendering to the other images (no tearing is visible). Framerate is unlimited (nonwithstanding [member Engine.max_fps]).
|
|
|
|
|
|
+ Displays the most recent image in the queue on vertical blanking intervals, while rendering to the other images (no tearing is visible). Framerate is unlimited (notwithstanding [member Engine.max_fps]).
|
|
Although not guaranteed, the images can be rendered as fast as possible, which may reduce input lag (also called "Fast" V-Sync mode). [constant VSYNC_MAILBOX] works best when at least twice as many frames as the display refresh rate are rendered. Behaves like [constant VSYNC_ENABLED] when using the Compatibility rendering method.
|
|
Although not guaranteed, the images can be rendered as fast as possible, which may reduce input lag (also called "Fast" V-Sync mode). [constant VSYNC_MAILBOX] works best when at least twice as many frames as the display refresh rate are rendered. Behaves like [constant VSYNC_ENABLED] when using the Compatibility rendering method.
|
|
</constant>
|
|
</constant>
|
|
<constant name="DISPLAY_HANDLE" value="0" enum="HandleType">
|
|
<constant name="DISPLAY_HANDLE" value="0" enum="HandleType">
|