#include "ofxCore.h" #define kOfxInteractActionDraw "OfxInteractActionDraw"
handlehandle to an interact instance, cast to an
inArgshas the following properties on an image effect plugin,
kOfxPropEffectInstance- a handle to the effect for which the interact has been,
kOfxInteractPropPixelScale- the scale factor to convert cannonical pixels to screen pixels
kOfxInteractPropBackgroundColour- the background colour of the application behind the current view
kOfxPropTime- the effect time at which changed occured
kOfxImageEffectPropRenderScale- the render scale applied to any image fetched
outArgsis redundant and is set to NULL.
This action is issued to an interact whenever the host needs the plugin to redraw the given interact. The interact should issue any openGL calls it needs at this point.
Note that the interact may (in the case of custom parameter GUIS) or may not (in the case of image effect overlays) be required to swap buffers, that is up to the kind of interact.
kOfxActionCreateInstancehas been called on the instance handle,