<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIContext/startTask(toRender:to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:objc(cs)CIContext(im)startTaskToRender:toDestination:error:"
  },
  "title" : "startTask(toRender:to:)"
}
-->

# 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.

```
func startTask(toRender image: CIImage, to destination: CIRenderDestination) throws -> CIRenderTask
```

## Parameters

`image`

[`CIImage`](/documentation/CoreImage/CIImage) to prepare to render.

`destination`

The [`CIRenderDestination`](/documentation/CoreImage/CIRenderDestination) to which to render.

## Return Value

The asynchronous [`CIRenderTask`](/documentation/CoreImage/CIRenderTask) to render the image to the specified destination.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)