using System.Runtime.Versioning; namespace Brutal.VulkanApi.Xlib { /// /// VkXlibSurfaceCreateInfoKHR - Structure specifying parameters of a newly created Xlib surface object /// /// /// /// The VkXlibSurfaceCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_xlib_surface /// typedef struct VkXlibSurfaceCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkXlibSurfaceCreateFlagsKHR flags; /// Display* dpy; /// Window window; /// } VkXlibSurfaceCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] [SupportedOSPlatform("linux")] public unsafe partial struct VkXlibSurfaceCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.XlibSurfaceCreateInfoKHR; /// /// 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 VkXlibSurfaceCreateFlagsKHR Flags; /// /// Dpy is a pointer to an Xlib Display connection to the X server. /// [FieldOffset(24)] public void* Dpy; /// /// Window is an Xlib Window to associate the surface with. /// [FieldOffset(32)] public nint Window; } }