Macros

This document currently is a largely undocumented draft so it is more informational to refer to the C API at the moment: Open Mesh Effect API Reference.

MFX_CHECK(call)

Utility macro to wrap suite calls. It prints a message if the call returned something different from kOfxStatOK. Example:

MFX_CHECK(propertySuite->propSetInt(...));

MFX_ENSURE(call)

Like MFX_CHECK but throwing an MfxSuiteException exception if status is not kOfxStatOK