namespace Brutal.VulkanApi { /// /// VkTimelineSemaphoreSubmitInfo - Structure specifying signal and wait values for timeline semaphores /// /// /// /// To specify the values to use when waiting for and signaling semaphores /// created with a VkSemaphoreType of VK_SEMAPHORE_TYPE_TIMELINE, /// add a VkTimelineSemaphoreSubmitInfo structure to the pNext chain /// of the VkSubmitInfo structure when using vkQueueSubmit /// or the VkBindSparseInfo structure when using vkQueueBindSparse /// . /// The VkTimelineSemaphoreSubmitInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_2 /// typedef struct VkTimelineSemaphoreSubmitInfo { /// VkStructureType sType; /// const void* pNext; /// uint32_t waitSemaphoreValueCount; /// const uint64_t* pWaitSemaphoreValues; /// uint32_t signalSemaphoreValueCount; /// const uint64_t* pSignalSemaphoreValues; /// } VkTimelineSemaphoreSubmitInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkTimelineSemaphoreSubmitInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.TimelineSemaphoreSubmitInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// WaitSemaphoreValueCount is the number of semaphore wait values specified in pWaitSemaphoreValues. /// [FieldOffset(16)] public int WaitSemaphoreValueCount; /// /// WaitSemaphoreValues is a pointer to an array of waitSemaphoreValueCount values for the corresponding semaphores in VkSubmitInfo::pWaitSemaphores to wait for. /// [FieldOffset(24)] public nint* WaitSemaphoreValues; /// /// SignalSemaphoreValueCount is the number of semaphore signal values specified in pSignalSemaphoreValues. /// [FieldOffset(32)] public int SignalSemaphoreValueCount; /// /// SignalSemaphoreValues is a pointer to an array signalSemaphoreValueCount values for the corresponding semaphores in VkSubmitInfo::pSignalSemaphores to set when signaled. /// [FieldOffset(40)] public nint* SignalSemaphoreValues; } }