This chapter describes the actions that can be issued to an interact's main entry point. Interact actions are also generic in character, they could be issued to other plug-in types rather than just Image Effects, however they are not issued directly to an effect's main entry point, they are rather issued to separate entry points which exist on specific 'interact' objects that a plugin may create.
For nearly all the actions the
passed to to main entry point for an interact will be either NULL, or a value that should be cast to an
#include "ofxCore.h" #define kOfxActionDescribe "OfxActionDescribe"
handlehandle to the interact descriptor, cast to an
inArgsis redundant and is set to NULL,
outArgsis redundant and is set to NULL.
The kOfxActionDescribe is the first action passed to an interact. It is where an interact defines how it behaves and the resources it needs to function.
Note that the handle passed in acts as a descriptor for, rather than an instance of the interact.
The plugin has been loaded and the effect described.
If not trapped, the default action is for the host to carry on as normal