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

Function getNextState

source/RenderGraph/RunnableGraph.cpp:121–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 static PipelineState getNextState( PipelineState currentState
122 , std::vector< RunnablePassPtr >::iterator nextPassIt
123 , std::vector< RunnablePassPtr >::iterator endIt )
124 {
125 while ( endIt != nextPassIt
126 && !( *nextPassIt )->isEnabled() )
127 {
128 ++nextPassIt;
129 }
130
131 return ( endIt != nextPassIt && ( *nextPassIt )->isEnabled() )
132 ? ( *nextPassIt )->getPipelineState()
133 : currentState;
134 }
135
136 static VkDescriptorType getDescriptorType( BufferAttachment const & attach )
137 {

Callers 1

recordMethod · 0.85

Calls 1

isEnabledMethod · 0.45

Tested by

no test coverage detected