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