namespace Brutal.VulkanApi { /// /// VkBindImageMemorySwapchainInfoKHR - Structure specifying swapchain image memory to bind to /// /// /// /// If the pNext chain of VkBindImageMemoryInfo includes a /// VkBindImageMemorySwapchainInfoKHR structure, then that structure /// includes a swapchain handle and image index indicating that the image will /// be bound to memory from that swapchain. /// /// /// The VkBindImageMemorySwapchainInfoKHR structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 with VK_KHR_swapchain, VK_KHR_device_group with VK_KHR_swapchain /// typedef struct VkBindImageMemorySwapchainInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkSwapchainKHR swapchain; /// uint32_t imageIndex; /// } VkBindImageMemorySwapchainInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkBindImageMemorySwapchainInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindImageMemorySwapchainInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Swapchain is VK_NULL_HANDLE or a swapchain handle. /// [FieldOffset(16)] public VkSwapchainKHR Swapchain; /// /// ImageIndex is an image index within swapchain. /// [FieldOffset(24)] public int ImageIndex; } }