Version: 2017.3

CommandBuffer.ClearRenderTarget

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

Parámetros

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

Descripción

Adds a "clear render target" command.