omni::ext::isExtensionEnabled

Defined in omni/ext/ExtensionsUtils.h

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

Helper function to check if an extension is enabled by name.

Parameters
  • manager – A pointer to the ExtensionManager

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

Returns

true if the extension is enabled (that is if getEnabledExtensionId() would return a non-nullptr value); false if the extension is not found or not enabled