Class RenderGraph
Inheritance
System.Object
RenderGraph
Syntax
Constructors
RenderGraph(Boolean, MSAASamples)
Declaration
public RenderGraph(bool supportMSAA, MSAASamples initialSampleCount)
Parameters
| Type |
Name |
Description |
| System.Boolean |
supportMSAA |
|
| MSAASamples |
initialSampleCount |
|
Fields
kMaxMRTCount
Declaration
public static readonly int kMaxMRTCount
Field Value
| Type |
Description |
| System.Int32 |
|
Properties
enabled
Declaration
public bool enabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
rtHandleProperties
Declaration
public RTHandleProperties rtHandleProperties { get; }
Property Value
Methods
AddRenderPass<PassData>(String, out PassData, CustomSampler)
Declaration
public RenderGraphBuilder AddRenderPass<PassData>(string passName, out PassData passData, CustomSampler customSampler = null)
where PassData : class, new()
Parameters
| Type |
Name |
Description |
| System.String |
passName |
|
| PassData |
passData |
|
| CustomSampler |
customSampler |
|
Returns
Type Parameters
| Name |
Description |
| PassData |
|
Cleanup()
Declaration
CreateRendererList(RendererListDesc)
Declaration
public RenderGraphResource CreateRendererList(in RendererListDesc desc)
Parameters
Returns
CreateTexture(RenderGraphResource, Int32)
Declaration
public RenderGraphMutableResource CreateTexture(in RenderGraphResource texture, int shaderProperty = 0)
Parameters
Returns
CreateTexture(TextureDesc, Int32)
Declaration
public RenderGraphMutableResource CreateTexture(TextureDesc desc, int shaderProperty = 0)
Parameters
| Type |
Name |
Description |
| TextureDesc |
desc |
|
| System.Int32 |
shaderProperty |
|
Returns
Execute(ScriptableRenderContext, CommandBuffer, RenderGraphExecuteParams)
Declaration
public void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, in RenderGraphExecuteParams parameters)
Parameters
GetTextureDesc(RenderGraphResource)
Declaration
public TextureDesc GetTextureDesc(in RenderGraphResource texture)
Parameters
Returns
ImportTexture(RTHandle, Int32)
Declaration
public RenderGraphMutableResource ImportTexture(RTHandle rt, int shaderProperty = 0)
Parameters
| Type |
Name |
Description |
| RTHandle |
rt |
|
| System.Int32 |
shaderProperty |
|
Returns
RegisterDebug()
Declaration
public void RegisterDebug()
UnRegisterDebug()
Declaration
public void UnRegisterDebug()