| 389 | }; |
| 390 | |
| 391 | ImGui::Node* RenderGraphUI::NodeGraphEditorGui::addAndInitNode( |
| 392 | int nodeType, |
| 393 | const std::string& name, |
| 394 | const std::string& outputsString, |
| 395 | const std::string& inputsString, |
| 396 | uint32_t guiNodeID, |
| 397 | RenderPass* pCurrentRenderPass, |
| 398 | const ImVec2& pos |
| 399 | ) |
| 400 | { |
| 401 | // set init data for new node to obtain |
| 402 | RenderGraphNode* newNode = static_cast<RenderGraphNode*>(addNode(nodeType, pos, nullptr)); |
| 403 | newNode->initialize(name, outputsString, inputsString, guiNodeID, pCurrentRenderPass); |
| 404 | return newNode; |
| 405 | } |
| 406 | |
| 407 | void RenderGraphUI::NodeGraphEditorGui::setLinkFromGui( |
| 408 | ImGui::NodeLink& link, |
no test coverage detected