A game about forced loneliness, made by TACStudios
at master 23 lines 751 B view raw
1using System; 2 3namespace UnityEngine.Rendering 4{ 5 /// <summary> 6 /// Implement this interface on every post process volumes 7 /// </summary> 8 public interface IPostProcessComponent 9 { 10 /// <summary> 11 /// Tells if the post process needs to be rendered or not. 12 /// </summary> 13 /// <returns><c>true</c> if the effect should be rendered, <c>false</c> otherwise.</returns> 14 bool IsActive(); 15 16 /// <summary> 17 /// Tells if the post process can run the effect on-tile or if it needs a full pass. 18 /// </summary> 19 /// <returns>True if it can run on-tile, otherwise false.</returns> 20 [Obsolete("Unused #from(2023.1)", false)] 21 bool IsTileCompatible() => false; 22 } 23}