---
title: "addUpdate(_:)"
framework: quartzcore
role: symbol
role_heading: Instance Method
path: "quartzcore/carenderer/addupdate(_:)"
---

# addUpdate(_:)

Adds the rectangle to the update region of the current frame.

## Declaration

```swift
func addUpdate(_ r: CGRect)
```

## Parameters

- `r`: A rectangle defining the region to be added to the update region.

## See Also

### Rendering a Frame

- [beginFrame(atTime:timeStamp:)](quartzcore/carenderer/beginframe(attime:timestamp:).md)
- [updateBounds()](quartzcore/carenderer/updatebounds().md)
- [render()](quartzcore/carenderer/render().md)
- [nextFrameTime()](quartzcore/carenderer/nextframetime().md)
- [endFrame()](quartzcore/carenderer/endframe().md)
