Structures
VkSwapchainFlagsSurfaceCapabilitiesEXT
Structure describing supported swapchain create flags for a surface
The VkSwapchainFlagsSurfaceCapabilitiesEXT structure is defined as:
typedef struct VkSwapchainFlagsSurfaceCapabilitiesEXT {
VkStructureType sType;
void* pNext;
VkSwapchainCreateFlagsKHR swapchainSupportedFlags;
} VkSwapchainFlagsSurfaceCapabilitiesEXT;
pub struct SwapchainFlagsSurfaceCapabilitiesEXT {
s_type: vk::StructureType,
p_next: *mut c_void,
swapchain_supported_flags: vk::SwapchainCreateFlagsKHR, // Supported swapchain create flags for this surface and, if provided, a specific present mode in VkSurfacePresentModeKHR
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.swapchainSupportedFlagsis a bitmask of VkSwapchainCreateFlagsKHR representing the supported flags in VkSwapchainCreateInfoKHR when creating a swapchain for the surface on the specified device. If a VkSurfacePresentModeKHR structure is included in thepNextchain ofpSurfaceInfoin vkGetPhysicalDeviceSurfaceCapabilities2KHR, this value represents the supported flags for the specified present mode and those compatible with it as returned in VkSurfacePresentModeCompatibilityKHR.
Valid Usage (Implicit)
VUID-VkSwapchainFlagsSurfaceCapabilitiesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_SWAPCHAIN_FLAGS_SURFACE_CAPABILITIES_EXT