Version: 5.5

CommandBuffer.ClearRenderTarget

Switch to Manual
public void ClearRenderTarget (bool clearDepth, bool clearColor, Color backgroundColor, float depth= 1.0f);

Parameters

clearDepth Should clear depth buffer?
clearColor Should clear color buffer?
backgroundColor Color to clear with.
depth Depth to clear with (default is 1.0).

Description

Adds a "clear render target" command.