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

Function countGroups

source/RenderGraph/FramePassGroup.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 static uint32_t countGroups( FramePassGroup const * group )
37 {
38 return std::accumulate( group->getGroups().begin()
39 , group->getGroups().end()
40 , uint32_t( group->getGroups().size() )
41 , []( uint32_t val, FramePassGroupPtr const & lookup )
42 {
43 return val + countGroups( lookup.get() );
44 } );
45 }
46 }
47
48 FramePassGroup::FramePassGroup( FrameGraph & graph

Callers 1

FramePassGroup.cppFile · 0.85

Calls 4

beginMethod · 0.80
sizeMethod · 0.80
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected