namespace Brutal.VulkanApi { /// /// VkSemaphoreSubmitInfo - Structure specifying a semaphore signal or wait operation /// /// /// /// :refpage: VkSemaphoreSubmitInfo /// /// /// The VkSemaphoreSubmitInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkSemaphoreSubmitInfo { /// VkStructureType sType; /// const void* pNext; /// VkSemaphore semaphore; /// uint64_t value; /// VkPipelineStageFlags2 stageMask; /// uint32_t deviceIndex; /// } VkSemaphoreSubmitInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkSemaphoreSubmitInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SemaphoreSubmitInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Semaphore is a VkSemaphore affected by this operation. /// [FieldOffset(16)] public VkSemaphore Semaphore; /// /// Value is ignored. /// [FieldOffset(24)] public nint Value; /// /// StageMask is a VkPipelineStageFlags2 mask of pipeline stages which limit the first synchronization scope of a semaphore signal operation, or second synchronization scope of a semaphore wait operation as described in the semaphore wait operation^ and semaphore signal operation^ sections of the synchronization chapter^. /// [FieldOffset(32)] public VkPipelineStageFlags2 StageMask; /// /// DeviceIndex is the index of the device within a device group that executes the semaphore wait or signal operation. /// [FieldOffset(40)] public int DeviceIndex; } }