Method Setup
Setup(ScriptableRenderContext, CommandBuffer)
Called before the first execution of the pass occurs. Allow you to allocate custom buffers.
Declaration
protected virtual void Setup(ScriptableRenderContext renderContext, CommandBuffer cmd)
Parameters
| Type | Name | Description |
|---|---|---|
| ScriptableRenderContext | renderContext | The render context |
| CommandBuffer | cmd | Current command buffer of the frame |