#include "ofxImageEffect.h" #define kOfxImageEffectActionRender "OfxImageEffectActionRender"
handlehandle to the instance, cast to an
inArgshas the following properties...
kOfxPropTime- the time at which to test for identity
kOfxImageEffectPropFieldToRender- the field to test for identity
kOfxImageEffectPropRenderWindow- the window (in \ref PixelCoordinates) to test for identity under
kOfxImageEffectPropRenderScale- the scale factor being applied to the images being renderred
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
kOfxImageEffectPropRenderQualityDraft- if the render should be done in draft mode (e.g. for faster scrubbing)
outArgsis redundant and should be set to NULL.
This action is where an effect gets to push pixels and turn its input clips and parameter set into an output image. This is possibly quite complicated and covered in the Rendering Image Effects chapter.
The render action must be trapped by the plug-in, it cannot return kOfxStatReplyDefault. The pixels needs be pushed I'm afraid.