Version: 2018.2
public void ClearRenderTarget (bool clearDepth, bool clearColor, Color backgroundColor, float depth= 1.0f);

Parameters

clearDepthShould clear depth buffer?
clearColorShould clear color buffer?
backgroundColorColor to clear with.
depthDepth to clear with (default is 1.0).

Description

Adds a "clear render target" command.