CommandBuffer.ClearRenderTarget

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.

Did you find this page useful? Please give it a rating: