---
title: supportedDepthFormats
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/capabilities/supporteddepthformats
---

# supportedDepthFormats

The list of depth formats that the layer supports

## Declaration

```swift
var supportedDepthFormats: [MTLPixelFormat] { get }
```

## Discussion

Discussion The pixel formats in this property tell you which pixel arrangements and characteristics the layer supports for its depth textures.

## See Also

### Getting the supported formats

- [supportedColorFormats](compositorservices/layerrenderer/capabilities/supportedcolorformats.md)
