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,36 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceOrHostAddressConstKHR.html">VkDeviceOrHostAddressConstKHR</see> - Union specifying a const device or host address
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// :refpage: VkDeviceOrHostAddressConstKHR
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkDeviceOrHostAddressConstKHR</c> union is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_KHR_acceleration_structure, VK_NV_cooperative_vector
|
||||
/// typedef union VkDeviceOrHostAddressConstKHR {
|
||||
/// VkDeviceAddress deviceAddress;
|
||||
/// const void* hostAddress;
|
||||
/// } VkDeviceOrHostAddressConstKHR;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public unsafe partial struct VkDeviceOrHostAddressConstKHR()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>DeviceAddress</c> is a buffer device address as returned by the <c>vkGetBufferDeviceAddressKHR</c> command.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkDeviceAddress DeviceAddress;
|
||||
|
||||
/// <summary>
|
||||
/// <c>HostAddress</c> is a const host memory address.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public void* HostAddress;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue