docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PostProcessEffectRenderer

    The base abstract class for all effect renderer types. If you're writing your own effect you should rather use PostProcessEffectRenderer<T>.

    Inheritance
    object
    PostProcessEffectRenderer
    PostProcessEffectRenderer<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Runtime.dll
    Syntax
    public abstract class PostProcessEffectRenderer

    Fields

    m_ResetHistory

    This member is set to true when ResetHistory() is called by the user to reset temporal effects and other history-based effects.

    Declaration
    protected bool m_ResetHistory
    Field Value
    Type Description
    bool
    See Also
    PostProcessEffectRenderer<T>

    Methods

    GetCameraFlags()

    Override this method if your renderer needs access to any of the buffers defined in DepthTextureMode.

    Declaration
    public virtual DepthTextureMode GetCameraFlags()
    Returns
    Type Description
    DepthTextureMode

    The currently set depth texture modes

    See Also
    DepthTextureMode

    Init()

    Called when the renderer is created and its associated settings have been set.

    Declaration
    public virtual void Init()
    See Also
    settings

    Release()

    Override this method to release any resource allocated by your renderer.

    Declaration
    public virtual void Release()
    See Also
    PostProcessEffectRenderer<T>

    Render(PostProcessRenderContext)

    The render method called by PostProcessLayer when the effect is rendered.

    Declaration
    public abstract void Render(PostProcessRenderContext context)
    Parameters
    Type Name Description
    PostProcessRenderContext context

    A context object

    See Also
    PostProcessEffectRenderer<T>

    ResetHistory()

    Resets the history state for this renderer. This is automatically called when ResetHistory() is called by the user.

    Declaration
    public virtual void ResetHistory()
    See Also
    PostProcessEffectRenderer<T>

    See Also

    PostProcessEffectRenderer<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)