# depth

> When reading data from a ComputeBuffer, depth is 1, otherwise, the property takes the value of the requested depth from the texture.

## Definition

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

```csharp
public int depth { get; }
```
