暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IPostProcessComponent.cs 751B

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