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.