# Sandbox.Rendering.CommandList.ClearRenderTarget

```csharp
void ClearRenderTarget()
```

Set the current render target. Setting this will bind the render target and change the viewport to match it.

Declared in [Sandbox.Rendering.CommandList](/api/Sandbox.Rendering.CommandList).
Assembly: `Sandbox.Engine`.
