| 124 | } |
| 125 | |
| 126 | ref<RenderPass> RenderGraph::createPass(const std::string& passName, const std::string& passType, const Properties& props) |
| 127 | { |
| 128 | ref<RenderPass> pPass = RenderPass::create(passType, mpDevice, props); |
| 129 | if (pPass) |
| 130 | addPass(pPass, passName); |
| 131 | return pPass; |
| 132 | } |
| 133 | |
| 134 | uint32_t RenderGraph::addPass(const ref<RenderPass>& pPass, const std::string& passName) |
| 135 | { |
no test coverage detected