Contents

MTLPixelFormat.depth16Unorm

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

Declaration

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:), generates incorrect results for apps that run on a device with an Apple A8 or earlier GPU.

See Also

Depth and stencil pixel formats