VkImageCreateInfo
VkImageCreateInfo is a Vulkan structure used to describe the parameters of an image resource before creation with vkCreateImage. It specifies the image’s type, format, dimensions, mip level count, array layer count, tiling, usage, sharing mode, and initial layout. Creating an image does not allocate memory or bind it; memory is bound later with vkBindImageMemory.
Key fields and their purpose include: sType identifies the structure type as VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext is reserved
Usage notes: VkImageCreateInfo is passed to vkCreateImage to obtain a VkImage handle. After creation, memory must
Example values for a typical 2D texture include: sType VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, imageType VK_IMAGE_TYPE_2D, format VK_FORMAT_R8G8B8A8_UNORM, extent {width,