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

Function isParentAttachForPass

source/RenderGraph/GraphBuilder.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 }
119
120 static bool isParentAttachForPass( Attachment const * attach, FramePass const * pass )
121 {
122 return pass->end() != std::find_if( pass->begin(), pass->end()
123 , [&attach]( auto const & lookup )
124 {
125 return isAttachParent( lookup.second.parent, attach );
126 } );
127 }
128
129 static void listNonParentAttachs( FramePassArray const & passes
130 , AttachmentArray const & allAttachs

Callers 1

listNonParentAttachsFunction · 0.85

Calls 3

isAttachParentFunction · 0.85
beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected