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

Method setActiveGraph

Source/Mogwai/Mogwai.cpp:362–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 }
361
362 void Renderer::setActiveGraph(uint32_t active)
363 {
364 RenderGraph* pOld = getActiveGraph();
365 mActiveGraph = active;
366 RenderGraph* pNew = getActiveGraph();
367
368 if (pOld != pNew)
369 {
370 for (auto& e : mpExtensions) e->activeGraphChanged(pNew, pOld);
371 }
372 }
373
374 void Renderer::removeGraph(const ref<RenderGraph>& pGraph)
375 {

Callers 3

selectNextGraphMethod · 0.80
renderGraphsMethod · 0.80

Calls 2

activeGraphChangedMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected