Delegate RenderFunc<PassData> | Core RP Library | 7.2.1
docs.unity.cn
    Show / Hide Table of Contents

    Delegate RenderFunc<PassData>

    The Render Pass rendering delegate.

    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public delegate void RenderFunc<PassData>(PassData data, RenderGraphContext renderGraphContext)
        where PassData : class, new();
    Parameters
    Type Name Description
    PassData data

    Render Pass specific data.

    RenderGraphContext renderGraphContext

    Global Render Graph context.

    Type Parameters
    Name Description
    PassData

    The type of the class used to provide data to the Render Pass.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX