All parameters flagged with the
kOfxParamPropPersistant
property will persist when an effect is saved. How the effect is saved is completely up to the host, it may be in a file, a data base, where ever. We call a saved set of parameters a
setup
. A host will need to save the major version number of the plugin, as well as the plugin's unique identifier, in any setup.
When an host loads a set up it should do so in the following manner...
It is not an error for a parameter to exist in the plugin but not the setup, and vice versa. This allows a plugin developer to modify parameter sets between point releases, generally by adding new params. The developer should be sure that the default values of any new parameters yield the same behaviour as before they were added, otherwise it would be a breach of the 'major version means compatibility' rule.