using System.Runtime.Versioning; namespace Brutal.VulkanApi.Metal { /// /// VkMemoryGetMetalHandleInfoEXT - Structure describing a Metal handle memory export operation /// /// /// /// The VkMemoryGetMetalHandleInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_external_memory_metal /// typedef struct VkMemoryGetMetalHandleInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkDeviceMemory memory; /// VkExternalMemoryHandleTypeFlagBits handleType; /// } VkMemoryGetMetalHandleInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] [SupportedOSPlatform("macos"), SupportedOSPlatform("ios")] public unsafe partial struct VkMemoryGetMetalHandleInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryGetMetalHandleInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Memory is the memory object from which the handle will be exported. /// [FieldOffset(16)] public VkDeviceMemory Memory; /// /// HandleType is a VkExternalMemoryHandleTypeFlags value specifying the type of handle requested. /// [FieldOffset(24)] public VkExternalMemoryHandleTypeFlags HandleType; } }