mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
namespace Brutal.VulkanApi
|
|
{
|
|
/// <summary>
|
|
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkHostAddressRangeEXT.html">VkHostAddressRangeEXT</see> - Structure specifying a host address range
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// A host address range indicates a range of host memory.
|
|
/// </para>
|
|
/// <code>
|
|
/// // Provided by VK_EXT_descriptor_heap
|
|
/// typedef struct VkHostAddressRangeEXT {
|
|
/// void* address;
|
|
/// size_t size;
|
|
/// } VkHostAddressRangeEXT;
|
|
/// </code>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
|
public unsafe partial struct VkHostAddressRangeEXT()
|
|
{
|
|
/// <summary>
|
|
/// <c>Address</c> is a 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;
|
|
}
|
|
}
|