OMNI_MODULE_ON_MODULE_CAN_UNLOAD

Defined in omni/core/ModuleExports.h

OMNI_MODULE_ON_MODULE_CAN_UNLOAD(exp_, fn_)

Registers the plugin’s function that determines if the plugin can be unloaded. See omni::core::OnModuleCanUnloadFn for details.

Parameters
  • exp_ – The omni::core::ModuleExports table in which the entry should be added.

  • fn_ – The plugin’s omni::core::OnModuleCanUnloadFn to be called after the plugin is loaded.