Method SetRenderFunc
SetRenderFunc<PassData>(BaseRenderFunc<PassData, LowLevelGraphContext>)
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, LowLevelGraphContext> renderFunc) where PassData : class, new()
Parameters
Type | Name | Description |
---|---|---|
BaseRenderFunc<PassData, LowLevelGraphContext> | renderFunc | Render function for the pass. |
Type Parameters
Name | Description |
---|---|
PassData | The Type of the class that provides data to the Render Pass. |