using UnityEngine; namespace UnityEngine.Rendering { /// /// Interface for determining what kind of debug settings are currently active. /// public interface IDebugDisplaySettingsQuery { /// /// Checks whether ANY of the debug settings are currently active. /// bool AreAnySettingsActive { get; } /// /// Checks whether the current state of these settings allows post-processing. /// bool IsPostProcessingAllowed { get; } /// /// Checks whether lighting is active for these settings. /// bool IsLightingActive { get; } /// /// Attempts to get the color used to clear the screen for this debug setting. /// /// A reference to the screen clear color to use. /// "true" if we updated the color, "false" if we didn't change anything. bool TryGetScreenClearColor(ref Color color); } }