omni::ext::getEnabledExtensionId

Defined in omni/ext/ExtensionsUtils.h

inline const char *omni::ext::getEnabledExtensionId(ExtensionManager *manager, const char *extFullName)

Helper function to find the Extension ID of a given Extension.

Parameters
  • manager – A pointer to the ExtensionManager

  • extFullName – The full extension name as required by ExtensionManager::fetchExtensionVersions()

Returns

The Extension ID of the enabled extension, or “” if the extension was not found or not enabled