mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkHostAddressRangeConstEXT.html">VkHostAddressRangeConstEXT</see> - Structure specifying a constant host address range
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// A constant host address range indicates a range of host memory that cannot
|
||||
/// be altered.
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_descriptor_heap
|
||||
/// typedef struct VkHostAddressRangeConstEXT {
|
||||
/// const void* address;
|
||||
/// size_t size;
|
||||
/// } VkHostAddressRangeConstEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public unsafe partial struct VkHostAddressRangeConstEXT()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>Address</c> is a read-only host memory address.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public void* Address;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Size</c> is the size of the range.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public nuint Size;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue