using System.Runtime.Versioning; namespace Brutal.VulkanApi.Win32 { /// /// VkSemaphoreGetWin32HandleInfoKHR - Structure describing a Win32 handle semaphore export operation /// /// /// /// The VkSemaphoreGetWin32HandleInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_external_semaphore_win32 /// typedef struct VkSemaphoreGetWin32HandleInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkSemaphore semaphore; /// VkExternalSemaphoreHandleTypeFlagBits handleType; /// } VkSemaphoreGetWin32HandleInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] [SupportedOSPlatform("windows")] public unsafe partial struct VkSemaphoreGetWin32HandleInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SemaphoreGetWin32HandleInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Semaphore is the semaphore from which state will be exported. /// [FieldOffset(16)] public VkSemaphore Semaphore; /// /// HandleType is a VkExternalSemaphoreHandleTypeFlags value specifying the type of handle requested. /// [FieldOffset(24)] public VkExternalSemaphoreHandleTypeFlags HandleType; } }