# Sandbox.GpuBuffer.Clear

```csharp
void Clear(uint value = 0)
```

Fills the entire buffer with a repeated uint32 value.
Uses the native GPU fill command (vkCmdFillBuffer) — no CPU-side allocation needed.

### Parameters

- `value` (`uint`), default `0`: The uint32 value to fill with. Defaults to zero.

Declared in [Sandbox.GpuBuffer](/api/Sandbox.GpuBuffer).
Assembly: `Sandbox.Engine`.
