VkSurfaceCapabilities2KHR
The VkSurfaceCapabilities2KHR structure is defined as:
typedef struct VkSurfaceCapabilities2KHR {
VkStructureType sType;
void* pNext;
VkSurfaceCapabilitiesKHR surfaceCapabilities;
} VkSurfaceCapabilities2KHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.surfaceCapabilitiesis a VkSurfaceCapabilitiesKHR structure describing the capabilities of the specified surface.
If the VK_GOOGLE_surfaceless_query extension is enabled and
VkPhysicalDeviceSurfaceInfo2KHR::surface in the
vkGetPhysicalDeviceSurfaceCapabilities2KHR call is
VK_NULL_HANDLE, the values returned in minImageCount,
maxImageCount, currentExtent, and currentTransform will
not reflect that of any surface and will instead be as such:
minImageCountandmaxImageCountwill be 0xFFFFFFFFcurrentExtentwill be (0xFFFFFFFF, 0xFFFFFFFF)currentTransformwill beVK_SURFACE_TRANSFORM_INHERIT_BIT_KHR
Valid Usage (Implicit)
VUID-VkSurfaceCapabilities2KHR-sType-sType
sType must be VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR
VUID-VkSurfaceCapabilities2KHR-pNext-pNext
Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkDisplayNativeHdrSurfaceCapabilitiesAMD, VkLatencySurfaceCapabilitiesNV, VkSharedPresentSurfaceCapabilitiesKHR, VkSurfaceCapabilitiesFullScreenExclusiveEXT, VkSurfaceCapabilitiesPresentBarrierNV, VkSurfacePresentModeCompatibilityEXT, VkSurfacePresentScalingCapabilitiesEXT, or VkSurfaceProtectedCapabilitiesKHR
VUID-VkSurfaceCapabilities2KHR-sType-unique
The sType value of each structure in the pNext chain must be unique