namespace Brutal.VulkanApi { /// /// VkMemoryGetFdInfoKHR - Structure describing a POSIX FD memory export operation /// /// /// /// The VkMemoryGetFdInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_external_memory_fd /// typedef struct VkMemoryGetFdInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkDeviceMemory memory; /// VkExternalMemoryHandleTypeFlagBits handleType; /// } VkMemoryGetFdInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkMemoryGetFdInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryGetFdInfoKHR; /// /// 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; } }