UnityGame/Library/PackageCache/com.unity.render-pipelines.core/Runtime/PostProcessing/IPostProcessComponent.cs

24 lines
751 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03:00
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;
}
}