# DEPTHRESOLVE_MAX

Variable · category: Graphics

Source: https://github.com/playcanvas/engine/blob/f059dc005842f76e052cdf44d8370c8c7ec475ac/src/platform/graphics/constants.js#L416

The depth value of the multisampled depth buffer is resolved by taking the maximum value of all
samples - with a standard depth buffer this selects the farthest surface. See
[RenderTarget#depthResolveMode](https://api.playcanvas.com/engine/classes/RenderTarget.md#depthresolvemode).

```ts
const DEPTHRESOLVE_MAX: "max" = 'max'
```
