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

# CIImageAccumulator

An object that manages feedback-based image processing for tasks such as painting or fluid simulation.

## Declaration

```swift
class CIImageAccumulator
```

## Overview

Overview The CIImageAccumulator class enables feedback-based image processing for such things as iterative painting operations or fluid dynamics simulations. You use CIImageAccumulator objects in conjunction with other Core Image classes, such as  CIFilter, CIImage, CIVector, and CIContext, to take advantage of the built-in Core Image filters when processing images.

## Topics

### Initializing an Image Accumulator

- [init(extent:format:)](coreimage/ciimageaccumulator/init(extent:format:).md)
- [init(extent:format:colorSpace:)](coreimage/ciimageaccumulator/init(extent:format:colorspace:).md)

### Setting an Image

- [setImage(_:)](coreimage/ciimageaccumulator/setimage(_:).md)
- [setImage(_:dirtyRect:)](coreimage/ciimageaccumulator/setimage(_:dirtyrect:).md)

### Obtaining Data From an Image Accumulator

- [extent](coreimage/ciimageaccumulator/extent.md)
- [format](coreimage/ciimageaccumulator/format.md)
- [image()](coreimage/ciimageaccumulator/image().md)

### Resetting an Accumulator

- [clear()](coreimage/ciimageaccumulator/clear().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
