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

# LayerRenderer.State.running

A state that indicates the layer is visible and ready for you to draw your content.

## Declaration

```swift
case running
```

## Mentioned in

Drawing fully immersive content using Metal

## Discussion

Discussion When the layer enters this state, start your rendering loop and begin drawing frames of content. Keep drawing frames of content until the layer transitions to another state.

## See Also

### Getting the states

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