namespace Brutal.VulkanApi { /// /// VkSubmitInfo2 - Structure specifying a queue submit operation /// /// /// /// The VkSubmitInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkSubmitInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkSubmitFlags flags; /// uint32_t waitSemaphoreInfoCount; /// const VkSemaphoreSubmitInfo* pWaitSemaphoreInfos; /// uint32_t commandBufferInfoCount; /// const VkCommandBufferSubmitInfo* pCommandBufferInfos; /// uint32_t signalSemaphoreInfoCount; /// const VkSemaphoreSubmitInfo* pSignalSemaphoreInfos; /// } VkSubmitInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkSubmitInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SubmitInfo2; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkSubmitFlags. /// [FieldOffset(16)] public VkSubmitFlags Flags; /// /// WaitSemaphoreInfoCount is the number of elements in pWaitSemaphoreInfos. /// [FieldOffset(20)] public int WaitSemaphoreInfoCount; /// /// WaitSemaphoreInfos is a pointer to an array of VkSemaphoreSubmitInfo structures defining semaphore wait operations^. /// [FieldOffset(24)] public VkSemaphoreSubmitInfo* WaitSemaphoreInfos; /// /// CommandBufferInfoCount is the number of elements in pCommandBufferInfos and the number of command buffers to execute in the batch. /// [FieldOffset(32)] public int CommandBufferInfoCount; /// /// CommandBufferInfos is a pointer to an array of VkCommandBufferSubmitInfo structures describing command buffers to execute in the batch. /// [FieldOffset(40)] public VkCommandBufferSubmitInfo* CommandBufferInfos; /// /// SignalSemaphoreInfoCount is the number of elements in pSignalSemaphoreInfos. /// [FieldOffset(48)] public int SignalSemaphoreInfoCount; /// /// SignalSemaphoreInfos is a pointer to an array of VkSemaphoreSubmitInfo describing semaphore signal operations^. /// [FieldOffset(56)] public VkSemaphoreSubmitInfo* SignalSemaphoreInfos; } }