using System.Runtime.Versioning; namespace Brutal.VulkanApi.Metal { /// /// VkExportMetalObjectCreateInfoEXT - Structure that identifies the Metal objects that can be exported from Vulkan objects /// /// /// /// To export Metal objects from Vulkan objects, the application must first /// indicate the intention to do so during the creation of the Vulkan object, by /// including one or more VkExportMetalObjectCreateInfoEXT structures in /// the pNext chain of the VkInstanceCreateInfo, /// VkMemoryAllocateInfo, VkImageCreateInfo, /// VkImageViewCreateInfo, VkBufferViewCreateInfo, /// VkSemaphoreCreateInfo, or VkEventCreateInfo, in the /// corresponding Vulkan object creation command. /// /// /// The VkExportMetalObjectCreateInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_metal_objects /// typedef struct VkExportMetalObjectCreateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkExportMetalObjectTypeFlagBitsEXT exportObjectType; /// } VkExportMetalObjectCreateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] [SupportedOSPlatform("macos"), SupportedOSPlatform("ios")] public unsafe partial struct VkExportMetalObjectCreateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ExportMetalObjectCreateInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ExportObjectType is a VkExportMetalObjectTypeFlagsEXT indicating the type of Metal object that the application may request to be exported from the Vulkan object. /// [FieldOffset(16)] public VkExportMetalObjectTypeFlagsEXT ExportObjectType; } }