[][src]Function rs_glfw3::bindings::glfwVulkanSupported

pub unsafe extern "C" fn glfwVulkanSupported() -> c_int

@brief Returns whether the Vulkan loader has been found.

This function returns whether the Vulkan loader has been found. This check is performed by @ref glfwInit.

The availability of a Vulkan loader does not by itself guarantee that window surface creation or even device 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 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