platformQuerySupport_win32.txt
1 // Copyright (c) 2014-2019 Khronos Group. This work is licensed under a 2 // Creative Commons Attribution 4.0 International License; see 3 // http://creativecommons.org/licenses/by/4.0/ 4 5 [[platformQuerySupport_win32,platformQuerySupport_win32]] 6 7 === Win32 Platform 8 9 [open,refpage='vkGetPhysicalDeviceWin32PresentationSupportKHR',desc='query queue family support for presentation on a Win32 display',type='protos'] 10 -- 11 12 To determine whether a queue family of a physical device supports 13 presentation to the Microsoft Windows desktop, call: 14 15 include::{generated}/api/protos/vkGetPhysicalDeviceWin32PresentationSupportKHR.txt[] 16 17 * pname:physicalDevice is the physical device. 18 * pname:queueFamilyIndex is the queue family index. 19 20 This platform-specific function can: be called prior to creating a surface. 21 22 .Valid Usage 23 **** 24 * [[VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-queueFamilyIndex-01309]] 25 pname:queueFamilyIndex must: be less than 26 pname:pQueueFamilyPropertyCount returned by 27 fname:vkGetPhysicalDeviceQueueFamilyProperties for the given 28 pname:physicalDevice 29 **** 30 31 include::{generated}/validity/protos/vkGetPhysicalDeviceWin32PresentationSupportKHR.txt[] 32 --