---
title: updateBounds()
framework: quartzcore
role: symbol
role_heading: Instance Method
path: quartzcore/carenderer/updatebounds()
---

# updateBounds()

Returns the bounds of the update region that contains all pixels that will be rendered by the current frame.

## Declaration

```swift
func updateBounds() -> CGRect
```

## Return Value

Return Value The bounds of the update region..

## Discussion

Discussion Initially updateBounds will include all differences between the current frame and the previously rendered frame.

## See Also

### Rendering a Frame

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