namespace Brutal.VulkanApi { /// /// VkSharedPresentSurfaceCapabilitiesKHR - Structure describing capabilities of a surface for shared presentation /// /// /// /// The VkSharedPresentSurfaceCapabilitiesKHR structure is defined as: /// /// /// // Provided by VK_KHR_shared_presentable_image /// typedef struct VkSharedPresentSurfaceCapabilitiesKHR { /// VkStructureType sType; /// void* pNext; /// VkImageUsageFlags sharedPresentSupportedUsageFlags; /// } VkSharedPresentSurfaceCapabilitiesKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkSharedPresentSurfaceCapabilitiesKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SharedPresentSurfaceCapabilitiesKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SharedPresentSupportedUsageFlags is a bitmask of VkImageUsageFlags 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_COLOR_ATTACHMENT_BIT must be included in the set but implementations may: support additional usages. /// [FieldOffset(16)] public VkImageUsageFlags SharedPresentSupportedUsageFlags; } }