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/VkStridedDeviceAddressNV.html">VkStridedDeviceAddressNV</see> - Structure specifying a device addresses with a stride
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// :refpage: VkStridedDeviceAddressNV
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkStridedDeviceAddressNV</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_NV_cluster_acceleration_structure
|
||||
/// typedef struct VkStridedDeviceAddressNV {
|
||||
/// VkDeviceAddress startAddress;
|
||||
/// VkDeviceSize strideInBytes;
|
||||
/// } VkStridedDeviceAddressNV;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct VkStridedDeviceAddressNV()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>StartAddress</c> is the device address (as returned by the <c>vkGetBufferDeviceAddress</c> command) at which the region starts, or zero if the region is unused.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkDeviceAddress StartAddress;
|
||||
|
||||
/// <summary>
|
||||
/// <c>StrideInBytes</c> is the byte stride between consecutive elements. Only the bottom 32 bits are used. The field is 64 bits to ensure consistent alignment across all containing structures.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public ByteSize64 StrideInBytes;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue