- Create a Vulkan instance and a logical device with a set of enabled swapchain extensions. Also store the handle of a physical device from which the logical device was created (refer to the Creating a Vulkan Instance with WSI extensions enabled and Creating a logical device with WSI extensions enabled recipes from Chapter 2, Image Presentation).
- Acquire handles of graphics and presentation queues from the logical device (refer to the Getting a device queue recipe from Chapter 1, Instance and Devices).
- Create a swapchain with a desired set of parameters. Store the swapchain's size (image dimensions) and format (refer to the Creating a swapchain with R8G8B8A8 format and a MAILBOX present mode recipe from Chapter 2, Image Presentation ...
Get Vulkan Cookbook now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.