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

Method update_gui

framework/vulkan_sample.h:1719–1737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1717
1718template <vkb::BindingType bindingType>
1719inline void VulkanSample<bindingType>::update_gui(float delta_time)
1720{
1721 if (gui)
1722 {
1723 if (gui->is_debug_view_active())
1724 {
1725 update_debug_window();
1726 }
1727
1728 gui->new_frame();
1729
1730 gui->show_top_window(get_name(), stats.get(), &get_debug_info());
1731
1732 // Samples can override this
1733 draw_gui();
1734
1735 gui->update(delta_time);
1736 }
1737}
1738
1739template <vkb::BindingType bindingType>
1740inline void VulkanSample<bindingType>::update_scene(float delta_time)

Callers

nothing calls this directly

Calls 5

is_debug_view_activeMethod · 0.80
new_frameMethod · 0.80
show_top_windowMethod · 0.80
getMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected