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

Method on_update

samples/gl-render-texture/gl-render-texture.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void sample_gl_render_offscreen::on_update(const app_update_event & e)
160{
161 int width, height;
162 glfwGetWindowSize(window, &width, &height);
163 shader_mon.handle_recompile();
164 flycam.update(e.timestep_ms);
165}
166
167void sample_gl_render_offscreen::on_draw()
168{

Callers

nothing calls this directly

Calls 2

handle_recompileMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected