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

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.