OMNI_GRAPH_EXEC_ON_MODULE_UNLOAD

Defined in omni/graph/exec/unstable/Module.h

OMNI_GRAPH_EXEC_ON_MODULE_UNLOAD()

Helper macro to ensure EF features are safely disabled when the current module/plugin unloads.

This macro should be called from either carbOnPluginShutdown or onUnload.

If your module/plugin registers EF nodes or passes, you must call this macro.

For Kit-based extensions, rather than calling this macro, call OMNI_KIT_EXEC_CORE_ON_MODULE_UNLOAD(), which will call this macro on your behalf.