Class DebugFrameTiming
Timing for debugging a frame
Namespace: UnityEngine.Rendering
Syntax
public class DebugFrameTiming
Constructors
DebugFrameTiming()
Default constructor
Declaration
public DebugFrameTiming()
Properties
bottleneckHistorySize
Size of the Bottleneck History Window in number of samples.
Declaration
public int bottleneckHistorySize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
sampleHistorySize
Size of the Sample History Window in number of samples.
Declaration
public int sampleHistorySize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
RegisterDebugUI(List<DebugUI.Widget>)
Add frame timing data widgets to debug UI.
Declaration
public void RegisterDebugUI(List<DebugUI.Widget> list)
Parameters
Type | Name | Description |
---|---|---|
List<DebugUI.Widget> | list | List of widgets to add the stats. |
UpdateFrameTiming()
Update timing data from profiling counters.
Declaration
public void UpdateFrameTiming()