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

Method loadScene

Source/Falcor/Core/Testbed.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void Testbed::loadScene(const std::filesystem::path& path, SceneBuilder::Flags buildFlags)
158{
159 mpScene = SceneBuilder(mpDevice, path, Settings(), buildFlags).getScene();
160
161 if (mpRenderGraph)
162 mpRenderGraph->setScene(mpScene);
163}
164
165void Testbed::loadSceneFromString(const std::string& scene, const std::string extension, SceneBuilder::Flags buildFlags)
166{

Callers

nothing calls this directly

Calls 4

SceneBuilderClass · 0.85
SettingsClass · 0.70
getSceneMethod · 0.45
setSceneMethod · 0.45

Tested by

no test coverage detected