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

Managing memory in Vulkan

Vulkan divides memory broadly into two types: host memory  and device memory. Further, each type of memory can be uniquely broken down based on the properties and memory type. Vulkan provides a transparent mechanism to view internal memory details and related properties. Such a type of exposure is not possible in OpenGL, and hence the application is unable to explicitly control memory regions and layouts.

Of these memory types, host memory is slower than device memory. However, host memory may be available in abundance. On the other hand, device memory is directly visible to the physical device, making it efficient and faster. In this section, we will learn about host and device memory and a way to access them.

Host memory ...

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