---
title: MTLPixelFormat.depth16Unorm
framework: metal
role: symbol
role_heading: Case
path: metal/mtlpixelformat/depth16unorm
---

# MTLPixelFormat.depth16Unorm

A pixel format for a depth-render target that has a 16-bit normalized, unsigned-integer component.

## Declaration

```swift
case depth16Unorm
```

## Discussion

Discussion If you need to apply depth bias, choose a different depth format. Setting a depth bias with this format, such as with setDepthBias(_:slopeScale:clamp:), generates incorrect results for apps that run on a device with an Apple A8 or earlier GPU.

## See Also

### Depth and stencil pixel formats

- [MTLPixelFormat.depth32Float](metal/mtlpixelformat/depth32float.md)
- [MTLPixelFormat.stencil8](metal/mtlpixelformat/stencil8.md)
- [MTLPixelFormat.depth24Unorm_stencil8](metal/mtlpixelformat/depth24unorm_stencil8.md)
- [MTLPixelFormat.depth32Float_stencil8](metal/mtlpixelformat/depth32float_stencil8.md)
- [MTLPixelFormat.x32_stencil8](metal/mtlpixelformat/x32_stencil8.md)
- [MTLPixelFormat.x24_stencil8](metal/mtlpixelformat/x24_stencil8.md)
