Delegate BaseRenderFunc<PassData, ContextType>
The Render Pass rendering delegate to use with typed contexts.
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public delegate void BaseRenderFunc<PassData, ContextType>(PassData data, ContextType renderGraphContext) where PassData : class, new()
Parameters
Type | Name | Description |
---|---|---|
PassData | data | Render Pass specific data. |
ContextType | renderGraphContext | Global Render Graph context. |
Type Parameters
Name | Description |
---|---|
PassData | The type of the class used to provide data to the Render Pass. |
ContextType | The type of the context that will be passed to the render function. |