using System.Runtime.Versioning; namespace Brutal.VulkanApi.Win32 { /// /// VkD3D12FenceSubmitInfoKHR - Structure specifying values for Direct3D 12 fence-backed semaphores /// /// /// /// To specify the values to use when waiting for and signaling semaphores whose /// current payload^ refers to a /// Direct3D 12 fence, add a VkD3D12FenceSubmitInfoKHR structure to the /// pNext chain of the VkSubmitInfo structure. /// The VkD3D12FenceSubmitInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_external_semaphore_win32 /// typedef struct VkD3D12FenceSubmitInfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint32_t waitSemaphoreValuesCount; /// const uint64_t* pWaitSemaphoreValues; /// uint32_t signalSemaphoreValuesCount; /// const uint64_t* pSignalSemaphoreValues; /// } VkD3D12FenceSubmitInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] [SupportedOSPlatform("windows")] public unsafe partial struct VkD3D12FenceSubmitInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.D3D12FenceSubmitInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// WaitSemaphoreValuesCount is the number of semaphore wait values specified in pWaitSemaphoreValues. /// [FieldOffset(16)] public int WaitSemaphoreValuesCount; /// /// WaitSemaphoreValues is a pointer to an array of waitSemaphoreValuesCount values for the corresponding semaphores in VkSubmitInfo::pWaitSemaphores to wait for. /// [FieldOffset(24)] public nint* WaitSemaphoreValues; /// /// SignalSemaphoreValuesCount is the number of semaphore signal values specified in pSignalSemaphoreValues. /// [FieldOffset(32)] public int SignalSemaphoreValuesCount; /// /// SignalSemaphoreValues is a pointer to an array of signalSemaphoreValuesCount values for the corresponding semaphores in VkSubmitInfo::pSignalSemaphores to set when signaled. /// [FieldOffset(40)] public nint* SignalSemaphoreValues; } }