Chapter 3. Queues and Commands

What You’ll Learn in This Chapter

• What a queue is and how to use it

• How to create commands and send them to Vulkan

• How to ensure that a device has finished processing your work

Vulkan devices expose multiple queues that perform work. In this chapter, we discuss the various queue types and explain how to submit work to them in the form of command buffers. We also show how to instruct a queue to complete all of the work you’ve sent it.

Device Queues

Each device in Vulkan has one or more queues. The queue is the part of the device that actually performs work. It can be thought of as a subdevice that exposes a subset of the device’s functionality. In some implementations, each queue may even be a physically ...

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.