mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58: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,41 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSparseImageOpaqueMemoryBindInfo.html">VkSparseImageOpaqueMemoryBindInfo</see> - Structure specifying sparse image opaque memory bind information
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Memory is bound to opaque regions of <c>VkImage</c> objects created with the
|
||||
/// <c>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</c> flag using the following structure:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// typedef struct VkSparseImageOpaqueMemoryBindInfo {
|
||||
/// VkImage image;
|
||||
/// uint32_t bindCount;
|
||||
/// const VkSparseMemoryBind* pBinds;
|
||||
/// } VkSparseImageOpaqueMemoryBindInfo;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public unsafe partial struct VkSparseImageOpaqueMemoryBindInfo()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>Image</c> is the <c>VkImage</c> object to be bound.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkImage Image;
|
||||
|
||||
/// <summary>
|
||||
/// <c>BindCount</c> is the number of <c>VkSparseMemoryBind</c> structures in the <c>pBinds</c> array.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public int BindCount;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Binds</c> is a pointer to an array of <c>VkSparseMemoryBind</c> structures.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public VkSparseMemoryBind* Binds;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue