Interface IComputeRenderGraphBuilder
A builder for a compute render pass AddComputePass<PassData>(string, out PassData)
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public interface IComputeRenderGraphBuilder : IBaseRenderGraphBuilder, IDisposable
Methods
SetRenderFunc<PassData>(BaseRenderFunc<PassData, ComputeGraphContext>)
Specify the render function to use for this pass. A call to this is mandatory for the pass to be valid.
Declaration
void SetRenderFunc<PassData>(BaseRenderFunc<PassData, ComputeGraphContext> renderFunc) where PassData : class, new()
Parameters
Type | Name | Description |
---|---|---|
BaseRenderFunc<PassData, ComputeGraphContext> | renderFunc | Render function for the pass. |
Type Parameters
Name | Description |
---|---|
PassData | The Type of the class that provides data to the Render Pass. |