O'Reilly logo

Learning Vulkan by Parminder Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we rendered our first Hello World! program in Vulkan. Drawing it consists of two stages—preparation and rendering (execution). Preparation records the command buffers and the rendering executes them. The command buffers are recorded once and executed multiple times unless there is an explicit change in the pipeline state objects.

The preparation of the command buffer involves recording the Render Pass and graphics pipeline binding and drawing parameters, such as vertex buffers, viewport, scissor, and so on. Finally, the drawing API command is specified; we demonstrated both index- and nonindex-based drawing APIs using the sample application.

The recorded command buffer is executed in the rendering stage. The execution process ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required