<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLPixelFormat/depth16Unorm",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLPixelFormat@MTLPixelFormatDepth16Unorm"
  },
  "title" : "MTLPixelFormat.depth16Unorm"
}
-->

# MTLPixelFormat.depth16Unorm

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

```
case depth16Unorm
```

## 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:)`](/documentation/Metal/MTLRenderCommandEncoder/setDepthBias(_:slopeScale:clamp:)),
generates incorrect results for apps that run on a device with
an Apple A8 or earlier GPU.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)