MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / handle_recompile

Method handle_recompile

libraries/lib-engine/src/shader-library.cpp:150–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void gl_shader_monitor::handle_recompile(const uint32_t polling_thread_frequency_milliseconds)
151{
152 polling_thread_frequency = polling_thread_frequency_milliseconds;
153
154 try_locker locker(watch_mutex);
155 for (auto & asset : assets)
156 {
157 if (asset.second->shouldRecompile)
158 {
159 asset.second->recompile_all();
160 asset.second->shouldRecompile = false;
161 }
162 }
163}

Callers 6

on_updateMethod · 0.80
on_updateMethod · 0.80
on_updateMethod · 0.80
on_updateMethod · 0.80
on_updateMethod · 0.80
on_updateMethod · 0.80

Calls 1

recompile_allMethod · 0.80

Tested by

no test coverage detected