# AllDepthSlices

> All depth-slices of the render resource are bound for rendering. For textures which are neither array nor 3D, the default slice is bound.

## Definition

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

```csharp
public const int AllDepthSlices = -1
```
