MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / loadPluginByName

Method loadPluginByName

Source/Falcor/Core/Plugin.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool PluginManager::loadPluginByName(std::string_view name)
46{
47 auto path = getRuntimeDirectory() / "plugins" / std::string(name);
48#if FALCOR_WINDOWS
49 path.replace_extension(".dll");
50#elif FALCOR_LINUX
51 path.replace_extension(".so");
52#endif
53 return loadPlugin(path);
54}
55
56bool PluginManager::loadPlugin(const std::filesystem::path& path)
57{

Callers 3

initModuleFunction · 0.80
createMethod · 0.80
GPU_TESTFunction · 0.80

Calls 1

stringFunction · 0.85

Tested by 1

GPU_TESTFunction · 0.64