This document currently is a largely undocumented draft so it is more informational to refer to the C API at the moment: OpenMfx API Reference.
Registration must be performed at the very end of the main file. Example:
MfxRegister( MyFirstEffect, AnotherEffect, AThirdEffect );
There can be an arbitrary number of arguments, and all of them are expected to be subclasses of MfxEffect.
Dev note: It is a bit unfortunate for readability that all this has to be a macro, but it is important to have
mainEntry<>so I could not figure out any other way.