diff options
| author | Jefferson González <jgmdev@gmail.com> | 2025-07-03 19:01:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-03 19:01:35 -0400 |
| commit | 499ba69d4241ccb95853c080dc3541bcd30bf550 (patch) | |
| tree | 0ca38bcd6548aabe5bef280e834bf204399b9910 /data/plugins/settings.lua | |
| parent | 512b998d2fc9b0f8d16999b78445bb30dc1d2395 (diff) | |
| download | pragtical-499ba69d4241ccb95853c080dc3541bcd30bf550.tar.gz pragtical-499ba69d4241ccb95853c080dc3541bcd30bf550.zip | |
Add option to draw rendering stats (#291)
* Frames per second
* Rendering speed measured in frames per second
* Maximum run time for a coroutine
* Amount of running coroutines
Diffstat (limited to 'data/plugins/settings.lua')
| -rw-r--r-- | data/plugins/settings.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/plugins/settings.lua b/data/plugins/settings.lua index 8f8b19c2..51218df1 100644 --- a/data/plugins/settings.lua +++ b/data/plugins/settings.lua @@ -707,6 +707,15 @@ settings.add("Development", path = "log_slow_threads", type = settings.type.TOGGLE, default = false + }, + { + label = "Draw Stats", + description = "Draw the current FPS, the rendering speed in FPS possible " + .. "and the maximum time that a coroutine has to run without affecting " + .. "the rendering process plus the total amount of running coroutines.", + path = "draw_stats", + type = settings.type.TOGGLE, + default = false } } ) |
