Class DebugDisplayStats<TProfileId>
Base class for Rendering Debugger Display Stats.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public abstract class DebugDisplayStats<TProfileId> where TProfileId : Enum
Type Parameters
| Name | Description |
|---|---|
| TProfileId | Type of ProfileId the pipeline uses |
Fields
| Name | Description |
|---|---|
| averageProfilerTimingsOverASecond | Whether to display timings averaged over a second instead of updating every frame. |
| hideEmptyScopes | Whether to hide empty scopes from UI. |
Methods
| Name | Description |
|---|---|
| BuildDetailedStatsList(string, List<TProfileId>) | Helper function to build a list of sampler widgets for display stats |
| DisableProfilingRecorders() | Disable all active profiling recorders. |
| EnableProfilingRecorders() | Enable profiling recorders. |
| GetProfilerIdsToDisplay() | Helper function to get all TProfilerId values of a given type to show in Detailed Stats section. |
| RegisterDebugUI(List<Widget>) | Add display stats widgets to the list provided. |
| Update() | Update the timing data displayed in Display Stats panel. |
| UpdateDetailedStats(List<TProfileId>) | Update the detailed stats |