using System.Runtime.Versioning; namespace Brutal.VulkanApi.Metal { /// /// VkMetalSurfaceCreateInfoEXT - Structure specifying parameters of a newly created Metal surface object /// /// /// /// The VkMetalSurfaceCreateInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_metal_surface /// typedef struct VkMetalSurfaceCreateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkMetalSurfaceCreateFlagsEXT flags; /// const CAMetalLayer* pLayer; /// } VkMetalSurfaceCreateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] [SupportedOSPlatform("macos"), SupportedOSPlatform("ios")] public unsafe partial struct VkMetalSurfaceCreateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MetalSurfaceCreateInfoEXT; /// /// 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 VkMetalSurfaceCreateFlagsEXT Flags; /// /// Layer is a reference to a basetype:CAMetalLayer object representing a renderable surface. /// [FieldOffset(24)] public void* Layer; } }