using System.Runtime.Versioning; namespace Brutal.VulkanApi.Wayland { /// /// VkWaylandSurfaceCreateInfoKHR - Structure specifying parameters of a newly created Wayland surface object /// /// /// /// The VkWaylandSurfaceCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_wayland_surface /// typedef struct VkWaylandSurfaceCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkWaylandSurfaceCreateFlagsKHR flags; /// struct wl_display* display; /// struct wl_surface* surface; /// } VkWaylandSurfaceCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] [SupportedOSPlatform("linux")] public unsafe partial struct VkWaylandSurfaceCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.WaylandSurfaceCreateInfoKHR; /// /// 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 VkWaylandSurfaceCreateFlagsKHR Flags; /// /// Display and surface are pointers to the Wayland wl_display and wl_surface to associate the surface with. /// [FieldOffset(24)] public void* Display; /// /// Surface /// [FieldOffset(32)] public void* Surface; } }