Rasagar/Library/PackageCache/com.unity.render-pipelines.core/Runtime/PostProcessing/IPostProcessComponent.cs
2024-08-26 23:07:20 +03:00

24 lines
751 B
C#

using System;
namespace UnityEngine.Rendering
{
/// <summary>
/// Implement this interface on every post process volumes
/// </summary>
public interface IPostProcessComponent
{
/// <summary>
/// Tells if the post process needs to be rendered or not.
/// </summary>
/// <returns><c>true</c> if the effect should be rendered, <c>false</c> otherwise.</returns>
bool IsActive();
/// <summary>
/// Tells if the post process can run the effect on-tile or if it needs a full pass.
/// </summary>
/// <returns>True if it can run on-tile, otherwise false.</returns>
[Obsolete("Unused #from(2023.1)", false)]
bool IsTileCompatible() => false;
}
}