#include "ofxImageEffect.h" #define kOfxImageEffectActionGetRegionOfDefinition "OfxImageEffectActionGetRegionOfDefinition"
handle
handle to the instance, cast to an
OfxImageEffectHandle
,
inArgs
has the following properties...
kOfxPropTime
the effect time for which a region of definition is being requested,
kOfxImageEffectPropRenderScale
the render scale that should be used in any calculations in this action,
outArgs
has the following property which the plug-in may set...
kOfxImageEffectPropRegionOfDefinition
, the calculated region of definition, initially set by the host to the default RoD (see below), in Canonical Coordinates.
The region of definition for an image effect is the rectangular section of the 2D image plane that it is capable of filling, given the state of its input clips and parameters. This action is used to calculate the RoD for a plugin instance at a given frame. For more details on regions of definition see Image Effect Architectures .
Note that hosts that have constant sized imagery need not call this action, only hosts that allow image sizes to vary need call this.
outArgs
property set
If the effect did not trap this, it means the host should use the default RoD instead, which depends on the context. This is...