---
title: depthAttachmentPixelFormat
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlmeshrenderpipelinedescriptor/depthattachmentpixelformat
---

# depthAttachmentPixelFormat

## Declaration

```swift
var depthAttachmentPixelFormat: MTLPixelFormat { get set }
```
