Plugins and hosts communicate using a property mechanism. A property is a named object within a property set (similar to a dictionary). You access these using the property suite defined in ofxProperty.h.
Fundamental Types:
intdoublechar * (strings)void *
Multidimensional Properties:
Properties can be multidimensional (e.g., a 2D integer for pen position). You can access individual elements via an index or set all values at once using functions like OfxPropertySuiteV1::propSetIntN.
Important Memory Note:
When fetching a string property, the returned pointer is only guaranteed to be valid until the next call to an OFX suite function or until the current action ends. If you need to use the string outside this scope, you must copy it.
OfxPropertySetHandle effectProps;
gImageEffectSuite->getPropertySet(effect, &effectProps);
// Setting a string property using kOfxPropLabel
gPropertySuite->propSetString(effectProps, kOfxPropLabel, 0, "OFX Basics Example");