omni::core::ModuleExportEntryOnModuleCanUnload
Defined in omni/core/ModuleExports.h
-
struct ModuleExportEntryOnModuleCanUnload
omni::core::ModuleExports entry to register a function to determine if the module can be unloaded.
Use the helper OMNI_MODULE_ON_MODULE_CAN_UNLOAD to add this entry.
Public Functions
-
inline ModuleExportEntryOnModuleCanUnload(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).
-
OnModuleCanUnloadFn *onModuleCanUnload
Module function to call to see if the module can be unloaded.
-
inline ModuleExportEntryOnModuleCanUnload(const char *t, ModuleExportEntryFlag f)