namespace Brutal.VulkanApi { /// /// VkDedicatedAllocationMemoryAllocateInfoNV - Specify a dedicated memory allocation resource /// /// /// /// If the pNext chain includes a /// VkDedicatedAllocationMemoryAllocateInfoNV structure, then that /// structure includes a handle of the sole buffer or image resource that the /// memory can be bound to. /// /// /// The VkDedicatedAllocationMemoryAllocateInfoNV structure is defined as: /// /// /// // Provided by VK_NV_dedicated_allocation /// typedef struct VkDedicatedAllocationMemoryAllocateInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkImage image; /// VkBuffer buffer; /// } VkDedicatedAllocationMemoryAllocateInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkDedicatedAllocationMemoryAllocateInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DedicatedAllocationMemoryAllocateInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Image is VK_NULL_HANDLE or a handle of an image which this memory will be bound to. /// [FieldOffset(16)] public VkImage Image; /// /// Buffer is VK_NULL_HANDLE or a handle of a buffer which this memory will be bound to. /// [FieldOffset(24)] public VkBuffer Buffer; } }