<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -",
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxTileableEffect/renderDestinationImage(_:sourceImages:pluginState:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxTileableEffect(im)renderDestinationImage:sourceImages:pluginState:atTime:error:"
  },
  "title" : "renderDestinationImage(_:sourceImages:pluginState:at:)"
}
-->

# renderDestinationImage(_:sourceImages:pluginState:at:)

Sends a request that the host wants your plug-in to do its rendering for a given output image tile.

```
func renderDestinationImage(_ destinationImage: FxImageTile, sourceImages: [FxImageTile], pluginState: Data?, at renderTime: CMTime) throws
```

## Parameters

`destinationImage`

The output image tile that your plug-in should render to.

`sourceImages`

An array of image tiles. Each one will have the size calculated in your plug-in’s [`sourceTileRect(_:sourceImageIndex:sourceImages:destinationTileRect:destinationImage:pluginState:at:)`](/documentation/professional_video_applications/FxTileableEffect/sourceTileRect(_:sourceImageIndex:sourceImages:destinationTileRect:destinationImage:pluginState:at:)) method.

`pluginState`

The `NSData` returned from your plug-in’s [`pluginState(_:at:quality:)`](/documentation/professional_video_applications/FxTileableEffect/pluginState(_:at:quality:)) method.

`renderTime`

The rational time at which to render your output.

## Discussion

The host calls method when it wants your plug-in to render an image tile of the output image. It passes in each of the input tiles needed as well as the plug-in state needed for the calculations. Your plug-in does all its rendering in this method. Do not attempt to use the `FxParameterRetrievalAPI*` object, as it is invalid at this time. Note that this method will be called on multiple threads at the same time.

---

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)