namespace Brutal.VulkanApi { /// /// VkMemoryDedicatedRequirements - Structure describing dedicated allocation requirements of buffer and image resources /// /// /// /// The VkMemoryDedicatedRequirements structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkMemoryDedicatedRequirements { /// VkStructureType sType; /// void* pNext; /// VkBool32 prefersDedicatedAllocation; /// VkBool32 requiresDedicatedAllocation; /// } VkMemoryDedicatedRequirements; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkMemoryDedicatedRequirements() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryDedicatedRequirements; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// PrefersDedicatedAllocation specifies that the implementation would prefer a dedicated allocation for this resource. The application is still free to suballocate the resource but it may: get better performance if a dedicated allocation is used. /// [FieldOffset(16)] public Brutal.Bool32 PrefersDedicatedAllocation; /// /// RequiresDedicatedAllocation specifies that a dedicated allocation is required for this resource. /// [FieldOffset(20)] public Brutal.Bool32 RequiresDedicatedAllocation; } }