SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d
6 changed files with 768360 additions and 0 deletions

View file

@ -0,0 +1,6 @@
namespace Brutal.VulkanApi;
public readonly record struct VkDeviceAddress(ulong Value)
{
public static implicit operator VkDeviceAddress(int value) => new VkDeviceAddress((ulong)value);
}

View file

@ -0,0 +1,6 @@
namespace Brutal.VulkanApi;
public readonly record struct VkFlags(uint Value)
{
public static implicit operator VkFlags(int value) => new VkFlags((uint)value);
}

View file

@ -0,0 +1,6 @@
namespace Brutal.VulkanApi;
public readonly record struct VkFlags64(ulong Value)
{
public static implicit operator VkFlags64(int value) => new VkFlags64((ulong)value);
}

View file

@ -0,0 +1,6 @@
namespace Brutal.VulkanApi;
public readonly record struct VkRemoteAddressNV(nint Value)
{
public static implicit operator VkRemoteAddressNV(int value) => new VkRemoteAddressNV((nint)value);
}

View file

@ -0,0 +1,6 @@
namespace Brutal.VulkanApi;
public readonly record struct VkSampleMask(uint Value)
{
public static implicit operator VkSampleMask(int value) => new VkSampleMask((uint)value);
}

View file

@ -0,0 +1,26 @@
namespace Brutal.VulkanApi;
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkTransformMatrixKHR.html">VkTransformMatrixKHR</see> - Structure specifying a 3x4 affine transformation matrix
/// </summary>
/// <remarks>
/// <para>
/// :refpage: VkTransformMatrixKHR
/// </para>
/// <para>
/// The <c>VkTransformMatrixKHR</c> structure is defined as:
/// </para>
/// <code>
/// // Provided by VK_KHR_acceleration_structure
/// typedef struct VkTransformMatrixKHR {
/// float matrix[3][4];
/// } VkTransformMatrixKHR;
/// </code>
/// </remarks>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct VkTransformMatrixKHR
{
public float4 X;
public float4 Y;
public float4 Z;
}