Function Prototype
vkGetDeviceGroupSurfacePresentModes2EXT
Query device group present capabilities for a surface
Alternatively, to query the supported device group presentation modes for a surface combined with select other fixed swapchain creation parameters, call:
VkResult vkGetDeviceGroupSurfacePresentModes2EXT(
VkDevice device,
const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
VkDeviceGroupPresentModeFlagsKHR* pModes);
device
is the logical device.pSurfaceInfo
is a pointer to a VkPhysicalDeviceSurfaceInfo2KHR structure describing the surface and other fixed parameters that would be consumed by vkCreateSwapchainKHR.pModes
is a pointer to a VkDeviceGroupPresentModeFlagsKHR in which the supported device group present modes for the surface are returned.
vkGetDeviceGroupSurfacePresentModes2EXT
behaves similarly to
vkGetDeviceGroupSurfacePresentModesKHR, with the ability to specify
extended inputs via chained input structures.
Valid Usage
VUID-vkGetDeviceGroupSurfacePresentModes2EXT-pSurfaceInfo-06213
pSurfaceInfo→surface
must be supported by all physical devices
associated with device
, as reported by
vkGetPhysicalDeviceSurfaceSupportKHR or an equivalent
platform-specific mechanism
Valid Usage (Implicit)
VUID-vkGetDeviceGroupSurfacePresentModes2EXT-device-parameter
device
must be a valid VkDevice handle
VUID-vkGetDeviceGroupSurfacePresentModes2EXT-pSurfaceInfo-parameter
pSurfaceInfo
must be a valid pointer to a valid VkPhysicalDeviceSurfaceInfo2KHR structure
VUID-vkGetDeviceGroupSurfacePresentModes2EXT-pModes-parameter
pModes
must be a valid pointer to a VkDeviceGroupPresentModeFlagsKHR value