glfwVulkanSupported function
! @brief Returns whether the Vulkan loader and an ICD have been found.
This function returns whether the Vulkan loader and any minimally functional ICD have been found.
The availability of a Vulkan loader and even an ICD does not by itself guarantee that surface creation or even instance creation is possible. Call @ref glfwGetRequiredInstanceExtensions to check whether the extensions necessary for Vulkan surface creation are available and @ref glfwGetPhysicalDevicePresentationSupport to check whether a queue family of a physical device supports image presentation.
@return GLFW_TRUE
if Vulkan is minimally available, or GLFW_FALSE
otherwise.
@errors Possible errors include @ref GLFW_NOT_INITIALIZED.
@thread_safety This function may be called from any thread.
@sa @ref vulkan_support
@since Added in version 3.2.
@ingroup vulkan
GLFWAPI int glfwVulkanSupported(void)
Implementation
int glfwVulkanSupported() {
final glfwVulkanSupportedLookupFunction = libglfw
.lookupFunction<Int32 Function(), int Function()>('glfwVulkanSupported');
return glfwVulkanSupportedLookupFunction();
}