namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceExternalBufferInfo - Structure specifying buffer creation parameters /// /// /// /// :refpage: VkPhysicalDeviceExternalBufferInfo /// /// /// The VkPhysicalDeviceExternalBufferInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkPhysicalDeviceExternalBufferInfo { /// VkStructureType sType; /// const void* pNext; /// VkBufferCreateFlags flags; /// VkBufferUsageFlags usage; /// VkExternalMemoryHandleTypeFlagBits handleType; /// } VkPhysicalDeviceExternalBufferInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPhysicalDeviceExternalBufferInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceExternalBufferInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkBufferCreateFlags describing additional parameters of the buffer, corresponding to VkBufferCreateInfo::flags. /// [FieldOffset(16)] public VkBufferCreateFlags Flags; /// /// Usage is a bitmask of VkBufferUsageFlags describing the intended usage of the buffer, corresponding to VkBufferCreateInfo::usage. /// [FieldOffset(20)] public VkBufferUsageFlags Usage; /// /// HandleType is a VkExternalMemoryHandleTypeFlags value specifying the memory handle type that will be used with the memory associated with the buffer. /// [FieldOffset(24)] public VkExternalMemoryHandleTypeFlags HandleType; } }