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

Chapter 5. Command Buffer and Memory Management in Vulkan

A command buffer is a collection of commands, and it is submitted to an appropriate hardware queue for GPU processing. The driver then fetches the command buffers and validates and compiles them before the real GPU processing starts.

This chapter will shed light on command buffer concepts. We will learn about command pool creation, allocation/deallocation of command buffers, and recording commands. We will implement the command buffers and use them in the next chapter to drive a swapchain. A swapchain abstracts the mechanism to interface with platform surfaces and provides an array of images that can be used to perform rendering. Once rendering is done, the image is presented to the native ...

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