Method Execute
Execute(ScriptableRenderContext, CommandBuffer, HDCamera, CullingResults)
Called when your pass needs to be executed by a camera
Declaration
[Obsolete("This Execute signature is obsolete and will be removed in the future. Please use Execute(CustomPassContext) instead")]
protected virtual void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderContext | renderContext | |
CommandBuffer | cmd | |
HDCamera | hdCamera | |
CullingResults | cullingResult |
Execute(CustomPassContext)
Called when your pass needs to be executed by a camera
Declaration
protected virtual void Execute(CustomPassContext ctx)
Parameters
Type | Name | Description |
---|---|---|
CustomPassContext | ctx | The context of the custom pass. Contains command buffer, render context, buffer, etc. |