# Sandbox.TextureBuilder.WithDepthFormat

```csharp
TextureBuilder WithDepthFormat()
```

Uses the same depth format as what the screen/framebuffer uses.

### Returns

`TextureBuilder`

Declared in [Sandbox.TextureBuilder](/api/Sandbox.TextureBuilder).
Assembly: `Sandbox.Engine`.
