docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RecordAndExecute

    RecordAndExecute(in RenderGraphParameters)

    Starts the recording of the the render graph and then automatically execute when the return value goes out of scope. This must be called before adding any pass to the render graph.

    Declaration
    public RenderGraphExecution RecordAndExecute(in RenderGraphParameters parameters)
    Parameters
    Type Name Description
    RenderGraphParameters parameters

    Parameters necessary for the render graph execution.

    Returns
    Type Description
    RenderGraphExecution

    RenderGraphExecution

    Examples

    This shows how to increment an integer.

    using (renderGraph.RecordAndExecute(parameters))
    {
        // Add your render graph passes here.
    }
    See Also
    RenderGraphExecution
    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)