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