---
title: supportedColorFormats
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/capabilities/supportedcolorformats
---

# supportedColorFormats

An array of color formats that the layer supports for its textures.

## Declaration

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

## Discussion

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

## See Also

### Getting the supported formats

- [supportedDepthFormats](compositorservices/layerrenderer/capabilities/supporteddepthformats.md)
