namespace Brutal.VulkanApi { /// /// VkAcquireNextImageInfoKHR - Structure specifying parameters of the acquire /// /// /// /// The VkAcquireNextImageInfoKHR structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 with VK_KHR_swapchain, VK_KHR_device_group with VK_KHR_swapchain /// typedef struct VkAcquireNextImageInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkSwapchainKHR swapchain; /// uint64_t timeout; /// VkSemaphore semaphore; /// VkFence fence; /// uint32_t deviceMask; /// } VkAcquireNextImageInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkAcquireNextImageInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AcquireNextImageInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Swapchain is a non-retired swapchain from which an image is acquired. /// [FieldOffset(16)] public VkSwapchainKHR Swapchain; /// /// Timeout specifies how long the function waits, in nanoseconds, if no image is available. /// [FieldOffset(24)] public nint Timeout; /// /// Semaphore is VK_NULL_HANDLE or a semaphore that defines a semaphore signal operation^. /// [FieldOffset(32)] public VkSemaphore Semaphore; /// /// Fence is VK_NULL_HANDLE or a fence to signal. /// [FieldOffset(40)] public VkFence Fence; /// /// DeviceMask is a mask of physical devices for which the swapchain image will be ready to use when the semaphore or fence is signaled. /// [FieldOffset(48)] public int DeviceMask; } }