mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,52 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceMemoryBudgetPropertiesEXT.html">VkPhysicalDeviceMemoryBudgetPropertiesEXT</see> - Structure specifying physical device memory budget and usage
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// If the <c>VkPhysicalDeviceMemoryBudgetPropertiesEXT</c> structure is included
|
||||
/// in the <c>pNext</c> chain of <c>VkPhysicalDeviceMemoryProperties2</c>, it is
|
||||
/// filled with the current memory budgets and usages.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkPhysicalDeviceMemoryBudgetPropertiesEXT</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_memory_budget
|
||||
/// typedef struct VkPhysicalDeviceMemoryBudgetPropertiesEXT {
|
||||
/// VkStructureType sType;
|
||||
/// void* pNext;
|
||||
/// VkDeviceSize heapBudget[VK_MAX_MEMORY_HEAPS];
|
||||
/// VkDeviceSize heapUsage[VK_MAX_MEMORY_HEAPS];
|
||||
/// } VkPhysicalDeviceMemoryBudgetPropertiesEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 272)]
|
||||
public unsafe partial struct VkPhysicalDeviceMemoryBudgetPropertiesEXT()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceMemoryBudgetPropertiesEXT;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>HeapBudget</c> is an array of <c>VK_MAX_MEMORY_HEAPS</c> basetype:VkDeviceSize values in which memory budgets are returned, with one element for each memory heap. A heap's budget is a rough estimate of how much memory the process <i>can</i> allocate from that heap before allocations may: fail or cause performance degradation. The budget includes any currently allocated device memory.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public ByteSize64_16 HeapBudget;
|
||||
|
||||
/// <summary>
|
||||
/// <c>HeapUsage</c> is an array of <c>VK_MAX_MEMORY_HEAPS</c> basetype:VkDeviceSize values in which memory usages are returned, with one element for each memory heap. A heap's usage is an estimate of how much memory the process is currently using in that heap.
|
||||
/// </summary>
|
||||
[FieldOffset(144)]
|
||||
public ByteSize64_16 HeapUsage;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue