#include "ofxCore.h" #define kOfxActionDescribe "OfxActionDescribe"
handlehandle to the plug-in descriptor, cast to an
inArgsis redundant and is set to NULL,
outArgsis redundant and is set to NULL.
The kOfxActionDescribe is the second action passed to a plug-in. It is where a plugin 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 plugin. The handle is global and unique. The plug-in is at liberty to cache the handle away for future reference until the plug-in is unloaded.
Most importantly, the effect must set what image effect contexts it is capable of working in.
This action must be trapped, it is not optional.
kOfxActionLoad has been called
kOfxImageEffectActionDescribeInContextwill be called once for each context that the host and plug-in mutually support.