startTask(toRender:to:)
Renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
Declaration
func startTask(toRender image: CIImage, to destination: CIRenderDestination) throws -> CIRenderTaskParameters
- image:
Ciimage to prepare to render.
- destination:
The Cirenderdestination to which to render.
Return Value
The asynchronous CIRenderTask to render the image to the specified destination.