Method Setup
Setup(ScriptableRenderContext, CommandBuffer)
Called before the first execution of the pass occurs. Allow you to allocate custom buffers.
선언
protected virtual void Setup(ScriptableRenderContext renderContext, CommandBuffer cmd)
파라미터
타입 | 이름 | 설명 |
---|---|---|
ScriptableRenderContext | renderContext | The render context |
CommandBuffer | cmd | Current command buffer of the frame |