vkCreateImage
vkCreateImage is a Vulkan API function used to create an image object on a logical device. An image represents a region of image-backed memory that can be used for textures, render targets, or other image-based resources. The image object is created with a description provided by a VkImageCreateInfo structure and is not bound to device memory at creation; memory binding occurs later with vkBindImageMemory. The created image handle can then be used in subsequent operations such as creating image views or using it in pipelines.
The function takes four parameters: the logical device, a pointer to a VkImageCreateInfo that specifies the
vkCreateImage returns a VkResult indicating success or failure. On success, VK_SUCCESS is returned and a valid
Notes and usage considerations: the image must eventually be bound to device memory with vkBindImageMemory, and