Instance Method

frameSetup:inputInfoA:inputInfoB:timeFraction:hardware:software:

Determines the type of input/output image the plug-in wants.

Required.

Declaration

- (BOOL)frameSetup:(FxRenderInfo)renderInfo inputInfoA:(FxImageInfo)inputInfoA inputInfoB:(FxImageInfo)inputInfoB timeFraction:(float)timeFraction hardware:(BOOL *)canRenderHardware software:(BOOL *)canRenderSoftware;

Parameters

renderInfo

FxRenderInfo structure that defines the render request.

inputInfoA

FxImageInfo structure that defines the first input image.

inputInfoB

FxImageInfo structure that defines the second input image.

timeFraction

Fraction of duration (between 0.0 and 1.0).

canRenderHardware

Set to YES if the frame can be rendered in hardware.

canRenderSoftware

Set to YES if the frame can be rendered in software.

Discussion

The application calls this method before invoking renderOutput:withInputA:withInputB:withTimeFraction:withInfo:.

See Also

Frame Setup and Rendering

- renderOutput:withInputA:withInputB:withTimeFraction:withInfo:

Renders output image from a plug-in.

Required.

- frameCleanup

Asks the plug-in to clean up any memory allocated during frame setup.

Required.