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 |
---|---|
average |
Whether to display timings averaged over a second instead of updating every frame. |
hide |
Whether to hide empty scopes from UI. |
Methods
Name | Description |
---|---|
Build |
Helper function to build a list of sampler widgets for display stats |
Disable |
Disable all active profiling recorders. |
Enable |
Enable profiling recorders. |
Get |
Helper function to get all TProfilerId values of a given type to show in Detailed Stats section. |
Register |
Add display stats widgets to the list provided. |
Update() | Update the timing data displayed in Display Stats panel. |
Update |
Update the detailed stats |