Class DebugDisplaySettingsRendering
Rendering-related Rendering Debugger settings.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class DebugDisplaySettingsRendering : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery
Properties
AreAnySettingsActive
Checks whether ANY of the debug settings are currently active.
Declaration
public bool AreAnySettingsActive { get; }
Property Value
Type | Description |
---|---|
bool |
IsLightingActive
Checks whether lighting is active for these settings.
Declaration
public bool IsLightingActive { get; }
Property Value
Type | Description |
---|---|
bool |
IsPostProcessingAllowed
Checks whether the current state of these settings allows post-processing.
Declaration
public bool IsPostProcessingAllowed { get; }
Property Value
Type | Description |
---|---|
bool |
enableHDR
Whether HDR is enabled.
Declaration
public bool enableHDR { get; set; }
Property Value
Type | Description |
---|---|
bool |
enableMsaa
Whether MSAA is enabled.
Declaration
public bool enableMsaa { get; set; }
Property Value
Type | Description |
---|---|
bool |
fullScreenDebugMode
Current debug fullscreen overlay mode.
Declaration
public DebugFullScreenMode fullScreenDebugMode { get; set; }
Property Value
Type | Description |
---|---|
DebugFullScreenMode |
fullScreenDebugModeOutputSizeScreenPercent
Size of the debug fullscreen overlay, as percentage of the screen size.
Declaration
public int fullScreenDebugModeOutputSizeScreenPercent { get; set; }
Property Value
Type | Description |
---|---|
int |
maxOverdrawCount
Maximum overdraw count for a single pixel.
This is used to setup the feedback range in when overdrawMode is active.
Declaration
public int maxOverdrawCount { get; set; }
Property Value
Type | Description |
---|---|
int |
overdrawMode
Which overdraw debug mode is active.
Declaration
public DebugOverdrawMode overdrawMode { get; set; }
Property Value
Type | Description |
---|---|
DebugOverdrawMode |
postProcessingDebugMode
Current debug post processing mode.
Declaration
public DebugPostProcessingMode postProcessingDebugMode { get; set; }
Property Value
Type | Description |
---|---|
DebugPostProcessingMode |
taaDebugMode
Current TAA debug mode.
Declaration
public DebugDisplaySettingsRendering.TaaDebugMode taaDebugMode { get; set; }
Property Value
Type | Description |
---|---|
DebugDisplaySettingsRendering.TaaDebugMode |
validationChannels
Current validation channels for DebugValidationMode.HighlightOutsideOfRange.
Declaration
public PixelValidationChannels validationChannels { get; set; }
Property Value
Type | Description |
---|---|
PixelValidationChannels |
validationMode
Current debug pixel validation mode.
Declaration
public DebugValidationMode validationMode { get; set; }
Property Value
Type | Description |
---|---|
DebugValidationMode |
validationRangeMax
Current maximum threshold value for pixel validation. Any values above this value will be considered invalid and will appear blue on screen.
Declaration
public float validationRangeMax { get; set; }
Property Value
Type | Description |
---|---|
float |
validationRangeMin
Current minimum threshold value for pixel validation. Any values below this value will be considered invalid and will appear red on screen.
Declaration
public float validationRangeMin { get; set; }
Property Value
Type | Description |
---|---|
float |
wireframeMode
Current debug wireframe mode.
Declaration
public DebugWireframeMode wireframeMode { get; set; }
Property Value
Type | Description |
---|---|
DebugWireframeMode |
Methods
TryGetScreenClearColor(ref Color)
Attempts to get the color used to clear the screen for this debug setting.
Declaration
public bool TryGetScreenClearColor(ref Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | A reference to the screen clear color to use. |
Returns
Type | Description |
---|---|
bool | "true" if we updated the color, "false" if we didn't change anything. |