Diagnostics Module
Access to the frame profiler and a display helper.
Functions and values
| Function or value |
Description
|
||
|
Formats a snapshot as two short lines for a text overlay. The first line holds rates and costs. The second holds allocation, collection, and graphics counts. Call this once per window, not once per frame, because it allocates.
|
||
|
Returns the registered profiler.
|
||
Full Usage:
tryGetProfiler ctx
Parameters:
GameContext
Returns: FrameProfiler voption
Modifiers: inline |
Mibo