| 1717 | |
| 1718 | template <vkb::BindingType bindingType> |
| 1719 | inline 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 | |
| 1739 | template <vkb::BindingType bindingType> |
| 1740 | inline void VulkanSample<bindingType>::update_scene(float delta_time) |
nothing calls this directly
no test coverage detected