Chapter 8. Drawing

What You’ll Learn in This Chapter

• The details of the different drawing commands in Vulkan

• How to draw many copies of data through instancing

• How to pass drawing parameters through buffers

Drawing is the fundamental operation in Vulkan that triggers work to be performed by a graphics pipeline. Vulkan includes several drawing commands, each generating graphics work in slightly different ways. This chapter delves deep into the drawing commands supported by Vulkan. First, we reintroduce the basic drawing command first discussed in Chapter 7, “Graphics Pipelines”; then we explore indexed and instanced drawing commands. Finally, we discuss a method to retrieve the parameters for a drawing command from device memory and even ...

Get Vulkan™ Programming Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.