This version of Unity is unsupported.

CommandBuffer.ClearRenderTarget

Declaration

public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth);

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.