<!--
{
  "availability" : [
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CompositorServices",
  "identifier" : "/documentation/CompositorServices/LayerRenderer/Capabilities/supportedLayouts(options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Compositor Services",
      "CompositorServices"
    ],
    "preciseIdentifier" : "s:So27CP_OBJECT_cp_layer_rendererC18CompositorServicesE12CapabilitiesV16supportedLayouts7optionsSaySo0c1_d1_E7_layoutVGAE09SupportedJ7OptionsV_tF"
  },
  "title" : "supportedLayouts(options:)"
}
-->

# supportedLayouts(options:)

Returns an array of texture layouts that the layer supports.

```
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

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

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)