1-07 InitDepthBuffer

Keywords: VkInstance, Debug Layer, VkPhysicalDevice, VkDevice, VkImage, VkDeviceMemory, VkImageView.

Link to Repo: 1-07 InitDepthBuffer.

Introduction

This is a simple example used to illustrate how to create a VkImage in Depth-Stencil format and its memory and its view. It would print the first physical device’s device name.

An Example Output

Device name:AMD Radeon RX 6800 XT