vkCreateDebugUtilsMessengerEXT
vkCreateDebugUtilsMessengerEXT is a Vulkan API function provided by the VK_EXT_debug_utils extension. It creates a debug messenger object that delivers diagnostic messages from the Vulkan validation layers and other layers to a user-supplied callback. The function enables applications to receive structured feedback about errors, warnings, performance issues, and general information during development and debugging.
The function’s signature is VkResult vkCreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger).
Usage notes include ensuring VK_EXT_debug_utils is supported and enabled for the instance, obtaining the function pointer
The callback function receives parameters indicating the message severity, the message type, a VkDebugUtilsMessengerCallbackDataEXT with details