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