---
title: "supportedColorFormats(options:)"
framework: compositorservices
role: symbol
role_heading: Instance Method
path: "compositorservices/layerrenderer/capabilities/supportedcolorformats(options:)"
---

# supportedColorFormats(options:)

Returns an array of formats that the layer supports for its color textures

## Declaration

```swift
func supportedColorFormats(options: LayerRenderer.Capabilities.SupportedColorFormatsOptions) -> [MTLPixelFormat]
```

## Parameters

- `options`: Specific options you want the formats of the color textures to be supported with. The function returns only color formats that are supported with the specified options.

## Discussion

Discussion Call this function to determine which pixel arrangements and characteristics the layer supports for its color textures.
