---
title: LayerRenderer.State.paused
framework: compositorservices
role: symbol
role_heading: Case
path: compositorservices/layerrenderer/state-swift.enum/paused
---

# LayerRenderer.State.paused

A state that indicates the layer is paused and not currently drawing.

## Declaration

```swift
case paused
```

## Mentioned in

Drawing fully immersive content using Metal

## Discussion

Discussion A layer starts in this state and later transitions to other states over time. Don’t run your render loop or do any drawing while in this state. Wait until the layer changes to one of the other states to take further action.

## See Also

### Getting the states

- [LayerRenderer.State.running](compositorservices/layerrenderer/state-swift.enum/running.md)
- [LayerRenderer.State.invalidated](compositorservices/layerrenderer/state-swift.enum/invalidated.md)
