1-03 InitDevice

Keywords: VkInstance, Debug Layer, VkPhysicalDevice, VkDevice.

Link to Repo: 1-03 InitDevice.

Introduction

This is a simple example used to illustrate how to create a VkDevice that supports the graphics queue. It would print the first physical device’s device name.

An Example Output

Device name:AMD Radeon RX 6800 XT