---
title: LayerRenderer.Frame.Timing
framework: compositorservices
role: symbol
role_heading: Structure
path: compositorservices/layerrenderer/frame/timing
---

# LayerRenderer.Frame.Timing

A type that stores information about a frame’s encoding, rendering, and presentation deadlines.

## Declaration

```swift
struct Timing
```

## Overview

Overview Before you start drawing your frame’s content, call predictTiming() to retrieve the frame’s timing information. That function returns the latest predicted values for you to use during planning. After you retrieve the LayerRenderer.Drawable type for the frame, get the timing information from the drawable instead using frameTiming.

## Topics

### Updating the frame contents

- [optimalInputTime](compositorservices/layerrenderer/frame/timing/optimalinputtime.md)

### Rendering the frame

- [renderingDeadline](compositorservices/layerrenderer/frame/timing/renderingdeadline.md)

### Displaying the frame

- [presentationTime](compositorservices/layerrenderer/frame/timing/presentationtime.md)

### Creating the timing details

- [init()](compositorservices/layerrenderer/frame/timing/init().md)

### Instance Properties

- [trackableAnchorTime](compositorservices/layerrenderer/frame/timing/trackableanchortime.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Getting timing information

- [predictTiming()](compositorservices/layerrenderer/frame/predicttiming().md)
