Home -> RenderPluginEnumerator -> EnumeratePluginsInDirectory
Description
The EnumeratePluginsInDirectory method searches a directory for renderer plugin libraries and attempts to add each matching file.
Important
The file extension search is platform-specific: .dll on Windows, .dylib on macOS, and .so on Linux and other POSIX builds.
Usage
SuccessToken EnumeratePluginsInDirectory(const std::filesystem::path& pluginDirectoryPath);
Argument list
- pluginDirectoryPath [const std::filesystem::path&]
- The directory to scan for renderer plugin libraries.
Return value
- [SuccessToken]
- True if at least one renderer plugin was added; otherwise false.