docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Setup

    Setup(ScriptableRenderContext, ref RenderingData)

    Configures the render passes that will execute for this renderer. This method is called per-camera every frame.

    Declaration
    public abstract void Setup(ScriptableRenderContext context, ref RenderingData renderingData)
    Parameters
    Type Name Description
    ScriptableRenderContext context

    Use this render context to issue any draw commands during execution.

    RenderingData renderingData

    Current render state information.

    See Also
    ScriptableRenderPass
    ScriptableRendererFeature
    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)