MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / hasOutput

Function hasOutput

source/RenderGraph/GraphBuilder.cpp:147–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 static bool hasOutput( FramePass const & pass )
148 {
149 auto result = ( !pass.getOutputs().empty() || !pass.getInouts().empty() );
150
151 if ( !result )
152 {
153 for ( auto & attach : pass.getTargets() )
154 result = result || attach->isOutput();
155 }
156
157 return result;
158 }
159
160 static void addPassInputs( FramePass const & pass
161 , AttachmentArray & result )

Callers 1

addSinkPassInputsFunction · 0.85

Calls 1

isOutputMethod · 0.80

Tested by

no test coverage detected