Class RenderGraphResourceRegistry | Core RP Library | 7.2.1
docs.unity.cn
    Show / Hide Table of Contents

    Class RenderGraphResourceRegistry

    The RenderGraphResourceRegistry holds all resource allocated during Render Graph execution.

    Inheritance
    Object
    RenderGraphResourceRegistry
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public class RenderGraphResourceRegistry

    Methods

    GetRendererList(RenderGraphResource)

    Returns the RendererList associated with the provided resource handle.

    Declaration
    public RendererList GetRendererList(in RenderGraphResource handle)
    Parameters
    Type Name Description
    RenderGraphResource handle

    Handle to a Renderer List resource.

    Returns
    Type Description
    RendererList

    The Renderer List associated with the provided resource handle.

    GetTexture(RenderGraphResource)

    Returns the RTHandle associated with the provided resource handle.

    Declaration
    public RTHandle GetTexture(in RenderGraphResource handle)
    Parameters
    Type Name Description
    RenderGraphResource handle

    Handle to a texture resource.

    Returns
    Type Description
    RTHandle

    The RTHandle associated with the provided resource handle.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX