| 600 | } |
| 601 | |
| 602 | void RenderGraphUI::removeEdge( |
| 603 | const std::string& srcPass, |
| 604 | const std::string& dstPass, |
| 605 | const std::string& srcField, |
| 606 | const std::string& dstField |
| 607 | ) |
| 608 | { |
| 609 | if (dstField[0] == '#') |
| 610 | { |
| 611 | FALCOR_ASSERT(srcField[0] == '#'); |
| 612 | mpIr->removeEdge(srcPass, dstPass); |
| 613 | } |
| 614 | else |
| 615 | { |
| 616 | mpIr->removeEdge(srcPass + "." + srcField, dstPass + "." + dstField); |
| 617 | } |
| 618 | mShouldUpdate = true; |
| 619 | } |
| 620 | |
| 621 | void RenderGraphUI::removeRenderPass(const std::string& name) |
| 622 | { |