diff options
Diffstat (limited to 'UnityEngine.PostProcessing/PostProcessingComponentBase.cs')
-rw-r--r-- | UnityEngine.PostProcessing/PostProcessingComponentBase.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/UnityEngine.PostProcessing/PostProcessingComponentBase.cs b/UnityEngine.PostProcessing/PostProcessingComponentBase.cs new file mode 100644 index 0000000..491f371 --- /dev/null +++ b/UnityEngine.PostProcessing/PostProcessingComponentBase.cs @@ -0,0 +1,23 @@ +namespace UnityEngine.PostProcessing; + +public abstract class PostProcessingComponentBase +{ + public PostProcessingContext context; + + public abstract bool active { get; } + + public virtual DepthTextureMode GetCameraFlags() + { + return DepthTextureMode.None; + } + + public virtual void OnEnable() + { + } + + public virtual void OnDisable() + { + } + + public abstract PostProcessingModel GetModel(); +} |