#include "ofxImageEffect.h" #define kOfxImageEffectActionBeginSequenceRender "OfxImageEffectActionBeginSequenceRender"
handlehandle to the instance, cast to an
inArgshas the following properties...
kOfxImageEffectPropFrameRange- the range of frames (inclusive) that will be renderred,
kOfxImageEffectPropFrameStep- what is the step between frames, generally set to 1 (for full frame renders) or 0.5 (for fielded renders),
kOfxPropIsInteractive- is this a single frame render due to user interaction in a GUI, or a proper full sequence render.
kOfxImageEffectPropRenderScale- the scale factor to apply to images for this call
kOfxImageEffectPropSequentialRenderStatus- whether the effect is currently being rendered in strict frame order on a single instance
kOfxImageEffectPropInteractiveRenderStatus- if the render is in response to a user modifying the effect in an interactive session
outArgsis redundant and is set to NULL.
This action is passed to an image effect before it renders a range of frames. It is there to allow an effect to set things up for a long sequence of frames. Note that this is still called, even if only a single frame is being rendered in an interactive environment.