Class RenderGraphResourceRegistry
The RenderGraphResourceRegistry holds all resource allocated during Render Graph execution.
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. |