This function returns an array of names of Vulkan instance extensions required by GLFW for creating Vulkan surfaces for GLFW windows. If successful, the list will always contain VK_KHR_surface, so if you don't require any additional extensions you can pass this list directly to the VkInstanceCreateInfo struct.
If Vulkan is not available on the machine, this function returns NULL and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.
If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns NULL. You may still use Vulkan for off-screen rendering and compute work.
Parameters
count: number
Where to store the number of extensions in the returned array. This is set to zero if an error occurred.
Returns string
An array of ASCII encoded extension names, or NULL if an error occurred.
This function returns an array of names of Vulkan instance extensions required by GLFW for creating Vulkan surfaces for GLFW windows. If successful, the list will always contain
VK_KHR_surface
, so if you don't require any additional extensions you can pass this list directly to theVkInstanceCreateInfo
struct.If Vulkan is not available on the machine, this function returns
NULL
and generates a GLFW_API_UNAVAILABLE error. Call glfwVulkanSupported to check whether Vulkan is at least minimally available.If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns
NULL
. You may still use Vulkan for off-screen rendering and compute work.