docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Execute

    Execute(ScriptableRenderContext, CommandBuffer, HDCamera, CullingResults)

    Called when your pass needs to be executed by a camera

    Declaration
    [Obsolete("This Execute signature is obsolete and will be removed in the future. Please use Execute(CustomPassContext) instead")]
    protected virtual void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
    Parameters
    Type Name Description
    ScriptableRenderContext renderContext
    CommandBuffer cmd
    HDCamera hdCamera
    CullingResults cullingResult

    Execute(CustomPassContext)

    Called when your pass needs to be executed by a camera

    Declaration
    protected virtual void Execute(CustomPassContext ctx)
    Parameters
    Type Name Description
    CustomPassContext ctx

    The context of the custom pass. Contains command buffer, render context, buffer, etc.

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