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

Method setScene

Source/Falcor/RenderGraph/RenderGraph.cpp:111–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void RenderGraph::setScene(const ref<Scene>& pScene)
112{
113 if (mpScene == pScene)
114 return;
115
116 // @skallweit: check that scene resides on the same GPU device
117
118 mpScene = pScene;
119 for (auto& it : mNodeData)
120 {
121 it.second.pPass->setScene(mpDevice->getRenderContext(), pScene);
122 }
123 mRecompile = true;
124}
125
126ref<RenderPass> RenderGraph::createPass(const std::string& passName, const std::string& passType, const Properties& props)
127{

Callers 5

addPassMethod · 0.45
updatePassMethod · 0.45
loadSceneMethod · 0.45
loadSceneFromStringMethod · 0.45
setRenderGraphMethod · 0.45

Calls

no outgoing calls

Tested by 3

loadSceneMethod · 0.36
loadSceneFromStringMethod · 0.36
setRenderGraphMethod · 0.36