namespace Brutal.VulkanApi { /// /// VkSwapchainPresentModesCreateInfoKHR - All presentation modes usable by the swapchain /// /// /// /// Applications can modify the presentation mode used by the swapchain on a /// per-presentation basis. /// However, all presentation modes the application intends to use with the /// swapchain must be specified at swapchain creation time. /// To specify more than one presentation mode when creating a swapchain, /// include the VkSwapchainPresentModesCreateInfoKHR structure in the /// pNext chain of the VkSwapchainCreateInfoKHR structure. /// /// /// The VkSwapchainPresentModesCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_swapchain_maintenance1 /// typedef struct VkSwapchainPresentModesCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint32_t presentModeCount; /// const VkPresentModeKHR* pPresentModes; /// } VkSwapchainPresentModesCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkSwapchainPresentModesCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SwapchainPresentModesCreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// PresentModeCount is the number of presentation modes provided. /// [FieldOffset(16)] public int PresentModeCount; /// /// PresentModes is a list of presentation modes with presentModeCount entries /// [FieldOffset(24)] public VkPresentModeKHR* PresentModes; } }