omni::core::ModuleExportEntryOnModuleUnload
Defined in omni/core/ModuleExports.h
- 
struct ModuleExportEntryOnModuleUnload
- omni::core::ModuleExports entry to register a function to be called when the plugin is unloaded. - Use the helper OMNI_MODULE_ON_MODULE_UNLOAD to add this entry. - Public Functions - 
inline ModuleExportEntryOnModuleUnload(const char *t, ModuleExportEntryFlag f)
- Constructor. 
 - Public Members - 
const char *type
- Unique type name describing the entry. 
 - 
ModuleExportEntryFlag flags
- Special flags for the entry (ex: required). 
 - 
uint32_t byteCount
- Size of the entry in bytes (including the header). 
 - 
OnModuleUnloadFn *onModuleUnload
- Module function to call to clean-up the module during unload. 
 
- 
inline ModuleExportEntryOnModuleUnload(const char *t, ModuleExportEntryFlag f)