#include "ofxCore.h" #define kOfxInteractActionDraw "OfxInteractActionDraw"
handle
handle to an interact instance, cast to an OfxInteractHandle
inArgs
has the following properties on an image effect plugin,
kOfxPropEffectInstance
- a handle to the effect for which the interact has been,kOfxInteractPropViewportSize
- the openGL viewport size for the instancekOfxInteractPropPixelScale
- the scale factor to convert cannonical pixels to screen pixelskOfxInteractPropBackgroundColour
- the background colour of the application behind the current viewkOfxPropTime
- the effect time at which changed occuredkOfxImageEffectPropRenderScale
- the render scale applied to any image fetchedoutArgs
is 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.
kOfxActionCreateInstance
has been called on the instance handle,
kOfxStatOK
, the action was trapped and all was wellkOfxStatReplyDefault
, the action was ignoredkOfxStatErrFatal
, kOfxStatFailed
, something went wrong, the host should ignore this interact in future