# depthStencilFormat

> The desired format of the depth/stencil buffer.

## Definition

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

```csharp
public GraphicsFormat depthStencilFormat { readonly get; set; }
```

### Remarks

A RenderTexture can use a different but compatible format if the format is not supported on this platform or graphics API. See Also: [RenderTexture.depthStencilFormat](/engine/6000.5/script-reference/unityengine/rendertexture/depthstencilformat.md)

Additional Resources: [RenderTexture.depthStencilFormat](/engine/6000.5/script-reference/unityengine/rendertexture/depthstencilformat.md), [GraphicsFormatUtility.GetDepthStencilFormat](/engine/6000.5/script-reference/unityengine/experimental/rendering/graphicsformatutility/getdepthstencilformat.md), [GraphicsFormat](/engine/6000.5/script-reference/unityengine/experimental/rendering/graphicsformat.md).
