Instance Method

setImage(_:dirtyRect:)

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

Declaration

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

Parameters

im

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

r

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.

Discussion

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