| 582 | } |
| 583 | |
| 584 | void 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 | |
| 601 | bool RenderGraph::isGraphOutput(const std::string& name) const |
| 602 | { |
no test coverage detected