A game about forced loneliness, made by TACStudios
1using UnityEngine;
2
3namespace UnityEngine.Rendering
4{
5 /// <summary>
6 /// Interface for determining what kind of debug settings are currently active.
7 /// </summary>
8 public interface IDebugDisplaySettingsQuery
9 {
10 /// <summary>
11 /// Checks whether ANY of the debug settings are currently active.
12 /// </summary>
13 bool AreAnySettingsActive { get; }
14
15 /// <summary>
16 /// Checks whether the current state of these settings allows post-processing.
17 /// </summary>
18 bool IsPostProcessingAllowed => true;
19
20 /// <summary>
21 /// Checks whether lighting is active for these settings.
22 /// </summary>
23 bool IsLightingActive => true;
24
25 /// <summary>
26 /// Attempts to get the color used to clear the screen for this debug setting.
27 /// </summary>
28 /// <param name="color">A reference to the screen clear color to use.</param>
29 /// <returns>"true" if we updated the color, "false" if we didn't change anything.</returns>
30 bool TryGetScreenClearColor(ref Color color) => false;
31 }
32}