Class DebugFrameTiming
Debug frame timings class
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugFrameTiming
Constructors
DebugFrameTiming()
Constructs the debug frame timing
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 |
|---|---|
| int |
sampleHistorySize
Size of the Sample History Window in number of samples.
Declaration
public int sampleHistorySize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
RegisterDebugUI(List<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()