You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/ProjectSettings.xml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -348,6 +348,7 @@
348
348
If [member display/window/vsync/vsync_mode] is [code]Enabled[/code], on monitors with variable refresh rate enabled (G-Sync/FreeSync), using a FPS limit a few frames lower than the monitor's refresh rate will [url=https://blurbusters.com/howto-low-lag-vsync-on/]reduce input lag while avoiding tearing[/url].
349
349
If [member display/window/vsync/vsync_mode] is [code]Disabled[/code], limiting the FPS to a high value that can be consistently reached on the system can reduce input lag compared to an uncapped framerate. Since this works by ensuring the GPU load is lower than 100%, this latency reduction is only effective in GPU-bottlenecked scenarios, not CPU-bottlenecked scenarios.
350
350
See also [member physics/common/physics_ticks_per_second].
351
+
This setting can be overridden using the [code]--max-fps <fps;>[/code] command line argument (including with a value of [code]0[/code] for unlimited framerate).
351
352
[b]Note:[/b] This property is only read when the project starts. To change the rendering FPS cap at runtime, set [member Engine.max_fps] instead.
OS::get_singleton()->print(" --debug-avoidance Show navigation avoidance debug visuals when running the scene.\n");
469
470
OS::get_singleton()->print(" --debug-stringnames Print all StringName allocations to stdout when the engine quits.\n");
470
471
#endif
471
-
OS::get_singleton()->print(" --frame-delay <ms> Simulate high CPU load (delay each frame by <ms> milliseconds).\n");
472
+
OS::get_singleton()->print(" --max-fps <fps> Set a maximum number of frames per second rendered (can be used to limit power usage). A value of 0 results in unlimited framerate.\n");
473
+
OS::get_singleton()->print(" --frame-delay <ms> Simulate high CPU load (delay each frame by <ms> milliseconds). Do not use as a FPS limiter; use --max-fps instead.\n");
472
474
OS::get_singleton()->print(" --time-scale <scale> Force time scale (higher values are faster, 1.0 is normal speed).\n");
473
475
OS::get_singleton()->print(" --disable-vsync Forces disabling of vertical synchronization, even if enabled in the project settings. Does not override driver-level V-Sync enforcement.\n");
474
476
OS::get_singleton()->print(" --disable-render-loop Disable render loop so rendering only occurs when called explicitly from script.\n");
Copy file name to clipboardExpand all lines: misc/dist/shell/_godot.zsh-completion
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ _arguments \
69
69
'--debug-collisions[show collision shapes when running the scene]' \
70
70
'--debug-navigation[show navigation polygons when running the scene]' \
71
71
'--debug-stringnames[print all StringName allocations to stdout when the engine quits]' \
72
+
'--frame-delay[set a maximum number of frames per second rendered (can be used to limit power usage), a value of 0 results in unlimited framerate]:maximum frames per seocnd' \
72
73
'--frame-delay[simulate high CPU load (delay each frame by the given number of milliseconds)]:number of milliseconds' \
73
74
'--time-scale[force time scale (higher values are faster, 1.0 is normal speed)]:time scale' \
74
75
'--disable-vsync[disable vertical synchronization even if enabled in the project settings]' \
complete-c godot -l debug-collisions -d"Show collision shapes when running the scene"
90
90
complete-c godot -l debug-navigation -d"Show navigation polygons when running the scene"
91
91
complete-c godot -l debug-stringnames -d"Print all StringName allocations to stdout when the engine quits"
92
+
complete-c godot -l max-fps -d"Set a maximum number of frames per second rendered (can be used to limit power usage), a value of 0 results in unlimited framerate"-x
92
93
complete-c godot -l frame-delay -d"Simulate high CPU load (delay each frame by the given number of milliseconds)"-x
93
94
complete-c godot -ltime-scale -d"Force time scale (higher values are faster, 1.0 is normal speed)"-x
94
95
complete-c godot -l disable-render-loop -d"Disable render loop so rendering only occurs when called explicitly from script"
0 commit comments