PostProcessingComponentBase.cs 425 B

1234567891011121314151617181920212223242526
  1. using System;
  2. namespace UnityEngine.PostProcessing
  3. {
  4. public abstract class PostProcessingComponentBase
  5. {
  6. public virtual DepthTextureMode GetCameraFlags()
  7. {
  8. return DepthTextureMode.None;
  9. }
  10. public abstract bool active { get; }
  11. public virtual void OnEnable()
  12. {
  13. }
  14. public virtual void OnDisable()
  15. {
  16. }
  17. public abstract PostProcessingModel GetModel();
  18. public PostProcessingContext context;
  19. }
  20. }