Struct RenderGraphContext | Core RP Library | 8.2.0
docs.unity.cn
    Show / Hide Table of Contents

    Struct RenderGraphContext

    This struct specifies the context given to every render pass.

    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public struct RenderGraphContext

    Fields

    cmd

    Command Buffer used for rendering.

    Declaration
    public CommandBuffer cmd
    Field Value
    Type Description
    CommandBuffer

    renderContext

    Scriptable Render Context used for rendering.

    Declaration
    public ScriptableRenderContext renderContext
    Field Value
    Type Description
    ScriptableRenderContext

    renderGraphPool

    Render Graph pooll used for temporary data.

    Declaration
    public RenderGraphObjectPool renderGraphPool
    Field Value
    Type Description
    RenderGraphObjectPool

    resources

    Render Graph Resource Registry used for accessing resources.

    Declaration
    public RenderGraphResourceRegistry resources
    Field Value
    Type Description
    RenderGraphResourceRegistry
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX