getPhysicalDeviceSurfaceCapabilities2EXT :: MonadIO io=> PhysicalDevicephysicalDeviceis the physical device that will be associated with the swapchain to be created, as described for createSwapchainKHR.-> SurfaceKHRsurfaceis the surface that will be associated with the swapchain.-> io SurfaceCapabilities2EXT
vkGetPhysicalDeviceSurfaceCapabilities2EXT - Query surface capabilities
Description
getPhysicalDeviceSurfaceCapabilities2EXT behaves similarly to
getPhysicalDeviceSurfaceCapabilitiesKHR,
with the ability to return extended information by adding extending
structures to the pNext chain of its pSurfaceCapabilities parameter.
Valid Usage
surfacemust be supported byphysicalDevice, as reported by getPhysicalDeviceSurfaceSupportKHR or an equivalent platform-specific mechanism
Valid Usage (Implicit)
physicalDevicemust be a valid PhysicalDevice handle
surfacemust be a valid SurfaceKHR handlepSurfaceCapabilitiesmust be a valid pointer to a SurfaceCapabilities2EXT structureBoth of
physicalDevice, andsurfacemust have been created, allocated, or retrieved from the same Instance
Return Codes
See Also
VK_EXT_display_surface_counter, PhysicalDevice, SurfaceCapabilities2EXT, SurfaceKHR