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

Method addSearchPath

Source/Falcor/Core/AssetResolver.cpp:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void AssetResolver::addSearchPath(const std::filesystem::path& path, SearchPathPriority priority, AssetCategory category)
95{
96 FALCOR_CHECK(path.is_absolute(), "Search path must be absolute.");
97 FALCOR_CHECK(category < AssetCategory::Count, "Invalid asset category.");
98 mSearchContexts[size_t(category)].addSearchPath(path, priority);
99}
100
101AssetResolver& AssetResolver::getDefaultResolver()
102{

Callers 6

loadScriptMethod · 0.80
SampleAppMethod · 0.80
internalInitMethod · 0.80
importSceneMethod · 0.80
ScopedImportMethod · 0.80
CPU_TESTFunction · 0.80

Calls 6

isSamePathFunction · 0.85
eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
push_backMethod · 0.45

Tested by 2

internalInitMethod · 0.64
CPU_TESTFunction · 0.64