FxTileableEffect
The designated initializer for your plug-in for rendering only certain portions of the plug-in’s output, referred to as tiles.
Declaration
protocol FxTileableEffect : NSObjectProtocolParameters
- apiManager:
An object that obtains the various API objects your plug-in needs for communicating with the host application.
Mentioned in
Overview
Using this protocol, your plug-in can render select portions of its output, or tiles, to increase efficiency and to operate outside the host’s process. Your plug-in should saves a weak reference to the apiManager object to use in subsequent calls. The plug-in initializes its properties and instance variables and returns a pointer to self. If any part of initialization fails in an unrecoverable way, this method returns nil.
Topics
Setting up your plug-in
Adding and setting parameters
Determining input and output bounds
sourceTileRect(_:sourceImageIndex:sourceImages:destinationTileRect:destinationImage:pluginState:at:)destinationImageRect(_:sourceImages:destinationImage:pluginState:at:)FxRectsAreEqual(_:_:)
Rendering an output
pluginState(_:at:quality:)scheduleInputs(_:withPluginState:at:)renderDestinationImage(_:sourceImages:pluginState:at:)
Data types
FxDepthFxFieldFxFieldOrderFxPoint2DFxPoint3DFxQualityFxRectFxSizeFxDrawingCoordinatesFxErrorFxImageColorInfo