---
title: DepthStencilState
---

Depth/stencil fixed-function state. Omit from pipeline to disable depth testing.


## Fields

### `format`

### `compare`

### `write`

Write depth on pass (default false).


### `depthBias`

### `depthBiasSlopeScale`

