# ConfigureClear(Color, float, uint)

> When the RenderPass starts, clear this attachment into the color or depth/stencil values given (depending on the format of this attachment). Changes AttachmentDescriptor.loadAction to RenderBufferLoadAction.Clear.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering](/engine/6000.3/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void ConfigureClear(Color clearColor, float clearDepth = 1, uint clearStencil = 0)
```

### Parameters

**** (\[Color]\(/engine/6000.3/script-reference/unityengine/color)): **** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): **** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)):&#x20;
