Chapter 4. Moving Data

What You’ll Learn in This Chapter

• How to manage the state of resources as they are used by Vulkan

• How to copy data between resources and fill buffers and images with a known value

• How to perform blit operations to stretch and scale image data

Graphics and compute operations are generally data-intensive. Vulkan includes several objects that provide a means to store and manipulate data. It is often necessary to move data into and out of those objects, and several commands are provided to do exactly that: copy data and fill buffer and image objects. Further, at any given time a resource may be in one of any number of states, and many parts of the Vulkan pipeline may need access to them. This chapter covers data movement ...

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.