Defined in omni/core/ModuleExports.h

struct ModuleExportEntryOnModuleLoad

omni::core::ModuleExports entry to register a function to advertise the interface implementations available in the plugin.

Use the helper OMNI_MODULE_ON_MODULE_LOAD to add this entry.

Public Functions

inline ModuleExportEntryOnModuleLoad(const char *t, ModuleExportEntryFlag f)


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).

OnModuleLoadFn *onModuleLoad

Module’s unload function.