Class PostProcessEffectRenderer | Post Processing | 2.3.0
docs.unity3d.com
    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>
    Namespace: UnityEngine.Rendering.PostProcessing
    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
    Boolean

    Methods

    GetCameraFlags()

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

    Declaration
    public virtual DepthTextureMode GetCameraFlags()
    Returns
    Type Description
    DepthTextureMode

    The currently set depth texture modes

    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()

    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

    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>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023