omni::ext::fetchAllExtensionPackages

Defined in omni/ext/ExtensionsUtils.h

inline std::vector<ExtensionInfo> omni::ext::fetchAllExtensionPackages(ExtensionManager *manager)

Helper function to fetch all extension packages and load them into the memory.

After calling this function extension manager will have all registry extensions loaded into memory. Functions like ExtensionManager::getRegistryExtensions() will be returning a full list of all extensions after.

Warning

This function is extemely slow, can take seconds, depending on the size of registry.

Parameters

manager – A pointer to the ExtensionManager

Returns

A vector of of ExtensionInfo objects