Class RenderGraphResourceRegistry | Core RP Library | 9.0.0-preview.77
docs.unity3d.com
    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

    GetComputeBuffer(ComputeBufferHandle)

    Returns the Compute Buffer associated with the provided resource handle.

    Declaration
    public ComputeBuffer GetComputeBuffer(in ComputeBufferHandle handle)
    Parameters
    Type Name Description
    ComputeBufferHandle handle

    Handle to a Compute Buffer resource.

    Returns
    Type Description
    ComputeBuffer

    The Compute Buffer associated with the provided resource handle or a null reference if the handle is invalid.

    GetRendererList(RendererListHandle)

    Returns the RendererList associated with the provided resource handle.

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

    Handle to a Renderer List resource.

    Returns
    Type Description
    RendererList

    The Renderer List associated with the provided resource handle or an invalid renderer list if the handle is invalid.

    GetTexture(TextureHandle)

    Returns the RTHandle associated with the provided resource handle.

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

    Handle to a texture resource.

    Returns
    Type Description
    RTHandle

    The RTHandle associated with the provided resource handle or null if the handle is invalid.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023