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

Method unmarkOutput

Source/Falcor/RenderGraph/RenderGraph.cpp:584–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void RenderGraph::unmarkOutput(const std::string& name)
585{
586 str_pair strPair;
587 getRenderPassAndNamePair(false, name, strPair);
588
589 GraphOut removeMe;
590 removeMe.field = strPair.second;
591 removeMe.nodeId = mNameToIndex[strPair.first];
592
593 auto it = std::find(mOutputs.begin(), mOutputs.end(), removeMe);
594 if (it != mOutputs.end())
595 {
596 mOutputs.erase(it);
597 mRecompile = true;
598 }
599}
600
601bool RenderGraph::isGraphOutput(const std::string& name) const
602{

Callers 1

removeOutputMethod · 0.45

Calls 4

findFunction · 0.85
eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected