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

Method setRenderGraph

Source/Falcor/Core/Testbed.cpp:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void Testbed::setRenderGraph(const ref<RenderGraph>& graph)
194{
195 mpRenderGraph = graph;
196
197 if (mpRenderGraph)
198 {
199 mpRenderGraph->onResize(mpTargetFBO.get());
200 mpRenderGraph->setScene(mpScene);
201 }
202}
203
204const ref<RenderGraph>& Testbed::getRenderGraph() const
205{

Callers

nothing calls this directly

Calls 3

onResizeMethod · 0.45
getMethod · 0.45
setSceneMethod · 0.45

Tested by

no test coverage detected