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

Method update

framework/hpp_api_vulkan_sample.cpp:91–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void HPPApiVulkanSample::update(float delta_time)
92{
93 if (view_updated)
94 {
95 view_updated = false;
96 view_changed();
97 }
98
99 assert(has_render_context());
100 render(delta_time);
101 camera.update(delta_time);
102 if (camera.moving())
103 {
104 view_updated = true;
105 }
106}
107
108bool HPPApiVulkanSample::resize(const uint32_t, const uint32_t)
109{

Callers 1

update_overlayMethod · 0.45

Calls 1

movingMethod · 0.80

Tested by

no test coverage detected