Class VkPhysicalDeviceSurfaceInfo2KHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceSurfaceInfo2KHR extends Struct<VkPhysicalDeviceSurfaceInfo2KHR> implements NativeResource
Structure specifying a surface and related swapchain creation parameters.
Description

The members of VkPhysicalDeviceSurfaceInfo2KHR correspond to the arguments to GetPhysicalDeviceSurfaceCapabilitiesKHR, with sType and pNext added for extensibility.

Additional capabilities of a surface may be available to swapchains created with different full-screen exclusive settings - particularly if exclusive full-screen access is application controlled. These additional capabilities can be queried by adding a VkSurfaceFullScreenExclusiveInfoEXT structure to the pNext chain of this structure when used to query surface properties. Additionally, for Win32 surfaces with application controlled exclusive full-screen access, chaining a VkSurfaceFullScreenExclusiveWin32InfoEXT structure may also report additional surface capabilities. These additional capabilities only apply to swapchains created with the same parameters included in the pNext chain of VkSwapchainCreateInfoKHR.

Valid Usage
Valid Usage (Implicit)
See Also

GetDeviceGroupSurfacePresentModes2EXT, GetPhysicalDeviceSurfaceCapabilities2KHR, GetPhysicalDeviceSurfaceFormats2KHR, GetPhysicalDeviceSurfacePresentModes2EXT

Layout


 struct VkPhysicalDeviceSurfaceInfo2KHR {
     VkStructureType sType();
     void const * pNext();
     VkSurfaceKHR surface();
 }