lovr.graphics.isTimingEnabled
EditReturns whether timing stats are enabled. 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.
enabled = lovr.graphics.isTimingEnabled()Arguments
None
Returns
| Name | Type | Description |
| enabled | boolean | Whether timing is enabled. |