# DepthAuto

> Obsolete. Use GraphicsFormat.None as a color format instead to indicate depth-only rendering. Use DefaultFormat to get the default depth buffer format.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Experimental.Rendering](/engine/6000.0/script-reference/unityengine/experimental/rendering.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Removed.** Enum member GraphicsFormat.DepthAuto is obsolete. Use GraphicsFormat.None as a color format to indicate depth only rendering and DefaultFormat to get the default depth buffer format.

```csharp
DepthAuto = 142
```
