Instance Method


Initializes an image accumulator with the specified extent, pixel format, and color space.


- (instancetype)initWithExtent:(CGRect)extent format:(CIFormat)format colorSpace:(CGColorSpaceRef)colorSpace;



A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.


The format and size of each pixel. You must supply a pixel format constant, such askCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.


A CGColorSpaceRef object describing the color space for the image accumulator.

Return Value

The initialized image accumulator object.

See Also

Initializing an Image Accumulator

- initWithExtent:format:

Initializes an image accumulator with the specified extent and pixel format.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software