Method SetCameraRenderTarget
SetCameraRenderTarget(CommandBuffer, bool, ClearFlag)
Bind the camera color buffer as the current render target
Declaration
[Obsolete("Use directly CoreUtils.SetRenderTarget with the render target of your choice.")]
protected void SetCameraRenderTarget(CommandBuffer cmd, bool bindDepth = true, ClearFlag clearFlags = ClearFlag.None)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandBuffer | cmd | |
| bool | bindDepth | if true we bind the camera depth buffer in addition to the color |
| ClearFlag | clearFlags |