VkSharedPresentSurfaceCapabilities2KHR(3)

# VkSharedPresentSurfaceCapabilities2KHR(3) Manual Page

## Name

VkSharedPresentSurfaceCapabilities2KHR - Structure describing capabilities of a surface for shared presentation

## C Specification

The `VkSharedPresentSurfaceCapabilities2KHR` structure is defined as:

    // Provided by VK_KHR_extended_flags with VK_KHR_shared_presentable_image
    typedef struct VkSharedPresentSurfaceCapabilities2KHR {
        VkStructureType          sType;
        void*                    pNext;
        VkImageUsageFlags2KHR    sharedPresentSupportedUsageFlags;
    } VkSharedPresentSurfaceCapabilities2KHR;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `sharedPresentSupportedUsageFlags` is a bitmask of VkImageUsageFlagBits2KHR representing the ways the application can use the shared presentable image from a swapchain created with VkPresentModeKHR set to VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR or VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR for the surface on the specified device. VK_IMAGE_USAGE_2_COLOR_ATTACHMENT_BIT_KHR must be included in the set but implementations may support additional usages.

## Description

This structure can be included in the `pNext` chain of VkSurfaceCapabilities2KHR to determine supported usage when using VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR or VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR presentation mode.

Valid Usage (Implicit)

- VUID-VkSharedPresentSurfaceCapabilities2KHR-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_2_KHR

Structure Chaining

Extends the structure

  - VkSurfaceCapabilities2KHR

## See Also

VK_KHR_extended_flags, VK_KHR_shared_presentable_image, VkImageUsageFlags2KHR, VkStructureType

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0