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

# supportedLayouts(options:)

Returns an array of texture layouts that the layer supports.

## Declaration

```swift
func supportedLayouts(options: LayerRenderer.Capabilities.SupportedLayoutsOptions) -> [LayerRenderer.Layout]
```

## Parameters

- `options`: Specific options you want the layouts to support. The function returns only layouts that support the specified options.

## Return Value

Return Value An array of supported layouts. If the layer doesn’t support any layouts with the specified options, this function returns an empty array.

## Discussion

Discussion Call this function to determine which texture layouts you can use for your content.

## See Also

### Getting the supported layouts

- [LayerRenderer.Capabilities.SupportedLayoutsOptions](compositorservices/layerrenderer/capabilities/supportedlayoutsoptions.md)
