lovr.graphics.setTimingEnabled
EditEnables or disables timing stats. When enabled, Pass:getStats will return submitTime and gpuTime durations. Timing is enabled by default when t.graphics.debug is set in lovr.conf. Timing has a small amount of overhead, so it should only be enabled when needed.
lovr.graphics.setTimingEnabled(enable)Arguments
| Name | Type | Description |
| enable | boolean | Whether timing should be enabled. |
Returns
Nothing