Putting it all together into a Vulkan application
In this recipe, we use all the material from previous recipes of this chapter to build a Vulkan demo application combining 3D scene rendering with 2D and 3D debug line drawing functionality.
Getting ready
This recipe is a consolidation of all the material in this chapter into a final demo app. It might be useful to revisit all the previous recipes to get to grips with the different user interaction and debugging techniques described in this chapter.
The full source code for this recipe can be found in Chapter04/06_DemoApp
. The VulkanApp
class used in this recipe is declared in shared/VulkanApp.h
.
How to do it...
Let’s skim through the source code to see how we can integrate the functionality from all the recipes together into a single application. We put all of the source code here so we can reference it in the subsequent chapters when necessary. All error checking is skipped again for the sake of brevity:
- The
shared/VulkanApp...