---
title: clear()
framework: Core Image
role: symbol
role_heading: Instance Method
platforms: [iOS 9.0+, iPadOS 9.0+, Mac Catalyst 13.1+, macOS 10.4+, tvOS 9.0+, visionOS 1.0+]
path: coreimage/ciimageaccumulator/clear()
---

# clear()

Resets the accumulator, discarding any pending updates and the current content.

## Declaration

```swift
func clear()
```
