namespace Brutal.VulkanApi { /// /// VkDisplaySurfaceCreateInfoKHR - Structure specifying parameters of a newly created display plane surface object /// /// /// /// The VkDisplaySurfaceCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_display /// typedef struct VkDisplaySurfaceCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkDisplaySurfaceCreateFlagsKHR flags; /// VkDisplayModeKHR displayMode; /// uint32_t planeIndex; /// uint32_t planeStackIndex; /// VkSurfaceTransformFlagBitsKHR transform; /// float globalAlpha; /// VkDisplayPlaneAlphaFlagBitsKHR alphaMode; /// VkExtent2D imageExtent; /// } VkDisplaySurfaceCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkDisplaySurfaceCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DisplaySurfaceCreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use, and must be zero. /// [FieldOffset(16)] public VkDisplaySurfaceCreateFlagsKHR Flags; /// /// DisplayMode is a VkDisplayModeKHR handle specifying the mode to use when displaying this surface. /// [FieldOffset(24)] public VkDisplayModeKHR DisplayMode; /// /// PlaneIndex is the plane on which this surface appears. /// [FieldOffset(32)] public int PlaneIndex; /// /// PlaneStackIndex is the z-order of the plane. /// [FieldOffset(36)] public int PlaneStackIndex; /// /// Transform is a VkSurfaceTransformFlagsKHR value specifying the transformation to apply to images as part of the scanout operation. /// [FieldOffset(40)] public VkSurfaceTransformFlagsKHR Transform; /// /// GlobalAlpha is the global alpha value. This value is ignored if alphaMode is not VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR. /// [FieldOffset(44)] public float GlobalAlpha; /// /// AlphaMode is a VkDisplayPlaneAlphaFlagsKHR value specifying the type of alpha blending to use. /// [FieldOffset(48)] public VkDisplayPlaneAlphaFlagsKHR AlphaMode; /// /// ImageExtent is the size of the presentable images to use with the surface. /// [FieldOffset(52)] public VkExtent2D ImageExtent; } }