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

Method getImportPaths

Source/Falcor/Core/Testbed.cpp:614–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614std::vector<std::string> Testbed::getImportPaths() const
615{
616 if (mpScene == nullptr)
617 return std::vector<std::string>();
618
619 const std::vector<std::filesystem::path>& paths(mpScene->getImportPaths());
620 std::vector<std::string> ret;
621
622 // Convert vector of std::filesytem::paths to vector of std::string
623 std::for_each(paths.begin(), paths.end(), [&](const std::filesystem::path& path) { ret.push_back(path.string()); });
624
625 return ret;
626}
627
628std::vector<pybind11::dict> Testbed::getImportDicts() const
629{

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45
stringMethod · 0.45

Tested by

no test coverage detected