Instance Method


Updates an image accumulator with a subregion of an image object.


func setImage(_ image: CIImage, dirtyRect: CGRect)



The image object whose contents you want to assign to the image accumulator.


A rectangle that defines the subregion of the image object that’s changed since the last time you updated the image accumulator. You must guarantee that the new contents differ from the old only within the region specified by the this argument.


For additional details on using this method, see “Imaging Dynamical Systems” in Core Image Programming Guide.

See Also

Setting an Image

func setImage(CIImage)

Sets the contents of the image accumulator to the contents of the specified image object.

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