This section will cover the Vulkan APIs used to create an image resource. Here, we'll look into the concept of a data image, image view, and image layout in detail.
An image resource in Vulkan is represented using the
VkImage object. This object supports a multidimensional image up to three-dimensional data arrays. Images are created using the
vkCreateImage() API. Here's the syntax to do this:
VkResult vkCreateImage( VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage);
The following table describes the various fields of
This refers to the logical device responsible for creating an image. ...