Class DebugDisplaySettingsStats<TProfileId>
Display stats panel
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugDisplaySettingsStats<TProfileId> : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery where TProfileId : Enum
Type Parameters
Name | Description |
---|---|
TProfileId | Type of ProfileId the pipeline uses |
Constructors
DebugDisplaySettingsStats(DebugDisplayStats<TProfileId>)
Display stats panel constructor with settings
Declaration
public DebugDisplaySettingsStats(DebugDisplayStats<TProfileId> debugDisplayStats)
Parameters
Type | Name | Description |
---|---|---|
DebugDisplayStats<TProfileId> | debugDisplayStats |
Properties
AreAnySettingsActive
Checks whether ANY of the debug settings are currently active.
Declaration
public bool AreAnySettingsActive { get; }
Property Value
Type | Description |
---|---|
bool |
debugDisplayStats
Current display stats
Declaration
public DebugDisplayStats<TProfileId> debugDisplayStats { get; }
Property Value
Type | Description |
---|---|
DebugDisplayStats<TProfileId> |
Methods
CreatePanel()
Creates the debug UI panel needed for these debug settings.
Declaration
public IDebugDisplaySettingsPanelDisposable CreatePanel()
Returns
Type | Description |
---|---|
IDebugDisplaySettingsPanelDisposable | The debug UI panel created. |