Actions passed to an OFX Image Effect's plug-in main entry point are from two categories...
For generic actions, the
passed to to main entry point will depend on the API being impemented, for all generic actions passed to an OFX Image Effect plug-in, it will nearly alway be an
Because interacts are a special case, they are dealt with in a separate chapter, this chapter will deal with actions issued to an image effect plug-ins main entry point.
#include "ofxCore.h" #define kOfxActionLoad "OfxActionLoad"
arguments to the main entry are redundant and should be set to NULL.
is the first action passed to a plug-in after the binary containing the plug-in has been loaded. It is there to allow a plug-in to create any global data structures it may need and is also when the plug-in should fetch suites from the host.
The plugin's OfxPlugin::setHost function has been called
This action will not be called again while the binary containing the plug-in remains loaded.