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
6 changed files with 768360 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
6
brutal.vulkan/Brutal.Vulkan/Manual/Structs/VkFlags.cs
Normal file
6
brutal.vulkan/Brutal.Vulkan/Manual/Structs/VkFlags.cs
Normal 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);
|
||||
}
|
||||
6
brutal.vulkan/Brutal.Vulkan/Manual/Structs/VkFlags64.cs
Normal file
6
brutal.vulkan/Brutal.Vulkan/Manual/Structs/VkFlags64.cs
Normal 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);
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
Loading…
Reference in a new issue