Function Prototype
vkGetPhysicalDeviceWin32PresentationSupportKHR
Query queue family support for presentation on a Win32 display
To determine whether a queue family of a physical device supports presentation to the Microsoft Windows desktop, call:
VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR(
VkPhysicalDevice physicalDevice,
uint32_t queueFamilyIndex);
pub fn get_physical_device_win32_presentation_support_khr(
physical_device: vk::PhysicalDevice,
queue_family_index: u32,
) -> vk::Bool32;
physicalDeviceis the physical device.queueFamilyIndexis the queue family index.
This platform-specific function can be called prior to creating a surface.
Valid Usage
VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-queueFamilyIndex-01309
queueFamilyIndex must be less than
pQueueFamilyPropertyCount returned by
vkGetPhysicalDeviceQueueFamilyProperties for the given
physicalDevice
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-physicalDevice-parameter
physicalDevice must be a valid VkPhysicalDevice handle
Parent
VK_KHR_win32_surfaceType
Function Prototype