namespace Brutal.VulkanApi { /// /// VkMemoryPriorityAllocateInfoEXT - Specify a memory allocation priority /// /// /// /// If the pNext chain includes a VkMemoryPriorityAllocateInfoEXT /// structure, then that structure includes a priority for the memory. /// /// /// The VkMemoryPriorityAllocateInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_memory_priority /// typedef struct VkMemoryPriorityAllocateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// float priority; /// } VkMemoryPriorityAllocateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkMemoryPriorityAllocateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryPriorityAllocateInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Priority is a floating-point value between `0` and `1`, indicating the priority of the allocation relative to other memory allocations. Larger values are higher priority. The granularity of the priorities is implementation-dependent. /// [FieldOffset(16)] public float Priority; } }