---
title: layout
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/configuration-swift.struct/layout
---

# layout

The layout being used by the layer.

## Declaration

```swift
var layout: LayerRenderer.Layout { get set }
```

## Discussion

Discussion Layouts define how Compositor Services creates the color and depth textures it passes to your app. A layout might use separate textures for each view, or combine the content from multiple views into a single texture. The layout type also determines which Metal texture type to create. For more information about the supported layouts, see LayerRenderer.Layout.

## See Also

### Configuring the texture layout

- [LayerRenderer.Layout](compositorservices/layerrenderer/layout.md)
