Class DebugDisplaySettings<T>
Templated class for IDebugDisplaySettings
Implements
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public abstract class DebugDisplaySettings<T> : IDebugDisplaySettings where T : IDebugDisplaySettings, new()
Type Parameters
| Name | Description |
|---|---|
| T |
Fields
| Name | Description |
|---|---|
| m_Settings | The set of IDebugDisplaySettingsData containing the settings for this debug display |
Properties
| Name | Description |
|---|---|
| AreAnySettingsActive | Returns true if any of the debug settings are currently active. |
| Instance | The singleton instance that contains the current settings of Rendering Debugger. |
| IsLightingActive | Returns true if lighting is active for current state of debug settings. |
| IsPostProcessingAllowed | Checks whether the current state of these settings allows post-processing. |
Methods
| Name | Description |
|---|---|
| Add<TData>(TData) | Adds a new TData to this settings |
| ForEach(Action<IDebugDisplaySettingsData>) | Executes an action for each element |
| Reset() | Reset the stored debug settings |
| TryGetScreenClearColor(ref Color) | Attempts to get the color that should be used to clear the screen according to current debug settings. |