| 127 | } |
| 128 | |
| 129 | ITr2RenderNode::TempOutput* FindNamedOutput( const ITr2RenderNode::Span<ITr2RenderNode::TempOutput>& outputs, const char* name ) |
| 130 | { |
| 131 | auto sname = BlueSharedString( name ); |
| 132 | auto found = std::find_if( outputs.begin(), outputs.end(), [&]( const auto& output ) { return output.name == sname; } ); |
| 133 | if( found != outputs.end() ) |
| 134 | { |
| 135 | return found; |
| 136 | } |
| 137 | return nullptr; |
| 138 | } |
| 139 | |
| 140 | } |
| 141 |
no test coverage detected