vkCreateInstance
vkCreateInstance is a Vulkan API function used to create a VkInstance object, the top-level handle that represents an application's connection to the Vulkan API and the global state for a Vulkan session. The VkInstance is required before any other Vulkan objects can be created, and it serves as the foundation for interacting with physical devices and creating logical devices.
The function signature is VkResult vkCreateInstance(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance). The pCreateInfo parameter
VkInstanceCreateInfo encapsulates several fields, including sType, pNext, flags, pApplicationInfo (a pointer to VkApplicationInfo, which can be
Behavior and usage: vkCreateInstance interacts with the system loader and the Vulkan driver. If requested layers
Related functions include vkDestroyInstance, vkEnumerateInstanceExtensions, and vkEnumerateInstanceLayerProperties.