using System.Runtime.Versioning; namespace Brutal.VulkanApi.Win32 { /// /// VkWin32SurfaceCreateInfoKHR - Structure specifying parameters of a newly created Win32 surface object /// /// /// /// The VkWin32SurfaceCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_win32_surface /// typedef struct VkWin32SurfaceCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkWin32SurfaceCreateFlagsKHR flags; /// HINSTANCE hinstance; /// HWND hwnd; /// } VkWin32SurfaceCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] [SupportedOSPlatform("windows")] public unsafe partial struct VkWin32SurfaceCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.Win32SurfaceCreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkWin32SurfaceCreateFlagsKHR Flags; /// /// Hinstance is the Win32 HINSTANCE for the window to associate the surface with. /// [FieldOffset(24)] public nint Hinstance; /// /// Hwnd is the Win32 HWND for the window to associate the surface with. /// [FieldOffset(32)] public nint Hwnd; } }