MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / load_next_app

Method load_next_app

app/plugins/batch_mode/batch_mode.cpp:212–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void BatchMode::load_next_app()
213{
214 // Wrap it around to the start
215 ++sample_iter;
216 if (sample_iter == sample_list.end())
217 {
218 if (wrap_to_start)
219 {
220 sample_iter = sample_list.begin();
221 }
222 else
223 {
224 platform->close();
225 return;
226 }
227 }
228
229 // App will be started before the next update loop
230 request_app();
231}
232} // namespace plugins

Callers

nothing calls this directly

Calls 3

endMethod · 0.80
beginMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected