---
title: LayerRenderer.Layout.shared
framework: compositorservices
role: symbol
role_heading: Case
path: compositorservices/layerrenderer/layout/shared
---

# LayerRenderer.Layout.shared

A layout that uses a single texture to store the content for all rendered views.

## Declaration

```swift
case shared
```

## Mentioned in

Drawing fully immersive content using Metal

## Discussion

Discussion When a layer contains multiple views, the texture stores the images for those views side-by-side. The texture map for each view contains a viewport that defines the boundaries of that view’s content. The type of each texture is MTLTextureType.type2D.

## See Also

### Getting the texture layouts

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