Skip to content

OpenFX plugin programming guide (Advanced issues)

Frédéric Devernay edited this page Oct 22, 2015 · 4 revisions

Portability issues

Compatibility with hosts that do not support recent OpenFX specs

Some hosts had their OpenFX layer implemented when OFX 1.2, 1.3 or 1.4 were not yet available, and were not updated since. To avoid crashing the plugin on these hosts, when using a property that was introduced after OFX 1.0, be careful that it may not exist. The Plugins/Support library usually takes care of these if you use functions from this library.

Secret and disabled parameters

On Nuke (and maybe other OFX hosts), when a parameter descriptor is secret or disabled, the parameter instance can never be shown or enabled. For parameters that may be shown but should be secret by default, the kOfxParamPropSecret property should be set in kOfxActionCreateInstance (i.e. in the plugin constructor if using the Support library). Same holds for parameters that should be disabled by default but ma be re-enabled.