mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
62
Brutal.Vulkan/Generated/Structs/VkAllocationCallbacks.gen.cs
Normal file
62
Brutal.Vulkan/Generated/Structs/VkAllocationCallbacks.gen.cs
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkAllocationCallbacks.html">VkAllocationCallbacks</see> - Structure containing callback function pointers for memory allocation
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Allocators are provided by the application as a pointer to a
|
||||
/// <c>VkAllocationCallbacks</c> structure:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// typedef struct VkAllocationCallbacks {
|
||||
/// void* pUserData;
|
||||
/// PFN_vkAllocationFunction pfnAllocation;
|
||||
/// PFN_vkReallocationFunction pfnReallocation;
|
||||
/// PFN_vkFreeFunction pfnFree;
|
||||
/// PFN_vkInternalAllocationNotification pfnInternalAllocation;
|
||||
/// PFN_vkInternalFreeNotification pfnInternalFree;
|
||||
/// } VkAllocationCallbacks;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
||||
public unsafe partial struct VkAllocationCallbacks()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>UserData</c>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public void* UserData;
|
||||
|
||||
/// <summary>
|
||||
/// <c>PfnAllocation</c>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public PfnVkAllocationFunction PfnAllocation;
|
||||
|
||||
/// <summary>
|
||||
/// <c>PfnReallocation</c>
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public PfnVkReallocationFunction PfnReallocation;
|
||||
|
||||
/// <summary>
|
||||
/// <c>PfnFree</c>
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public PfnVkFreeFunction PfnFree;
|
||||
|
||||
/// <summary>
|
||||
/// <c>PfnInternalAllocation</c>
|
||||
/// </summary>
|
||||
[FieldOffset(32)]
|
||||
public PfnVkInternalAllocationNotification PfnInternalAllocation;
|
||||
|
||||
/// <summary>
|
||||
/// <c>PfnInternalFree</c>
|
||||
/// </summary>
|
||||
[FieldOffset(40)]
|
||||
public PfnVkInternalFreeNotification PfnInternalFree;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue