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

Method hasPass

source/RenderGraph/FramePassGroup.cpp:106–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 bool FramePassGroup::hasPass( std::string const & passName )const
107 {
108 return m_passes.end() != std::find_if( m_passes.begin()
109 , m_passes.end()
110 , [&passName]( FramePassPtr const & lookup )
111 {
112 return lookup->getName() == passName;
113 } );
114 }
115
116 void FramePassGroup::listPasses( FramePassArray & result )const
117 {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected