When acquiring displays on Windows 10, an application may also wish to
enumerate and identify them using a native handle rather than a
To determine the
VkDisplayKHR handle corresponding to a
// Provided by VK_NV_acquire_winrt_display VkResult vkGetWinrtDisplayNV( VkPhysicalDevice physicalDevice, uint32_t deviceRelativeId, VkDisplayKHR* pDisplay);
physicalDeviceThe physical device on which to query the display handle.
deviceRelativeIdThe value of the “AdapterRelativeId” property of a “DisplayTarget” that is enumerated by a “DisplayAdapter” with an “Id” property matching the
deviceLUIDproperty of a VkPhysicalDeviceIDProperties for
pDisplayThe corresponding VkDisplayKHR handle will be returned here.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.