mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
261
Brutal.Jolt/Generated/InlineArrays.gen.cs
Normal file
261
Brutal.Jolt/Generated/InlineArrays.gen.cs
Normal file
|
|
@ -0,0 +1,261 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an inline array of byte with a fixed size of 4288.
|
||||
/// </summary>
|
||||
[InlineArray(4288)]
|
||||
public struct byte_4288
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 4288;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public byte Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of float with a fixed size of 64.
|
||||
/// </summary>
|
||||
[InlineArray(64)]
|
||||
public struct float_64
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 64;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public float Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of float3 with a fixed size of 3.
|
||||
/// </summary>
|
||||
[InlineArray(3)]
|
||||
public struct float3_3
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 3;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public float3 Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of float4 with a fixed size of 32.
|
||||
/// </summary>
|
||||
[InlineArray(32)]
|
||||
public struct float4_32
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 32;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public float4 Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of float4 with a fixed size of 64.
|
||||
/// </summary>
|
||||
[InlineArray(64)]
|
||||
public struct float4_64
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 64;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public float4 Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of int with a fixed size of 3.
|
||||
/// </summary>
|
||||
[InlineArray(3)]
|
||||
public struct int_3
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 3;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public int Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of nint with a fixed size of 4.
|
||||
/// </summary>
|
||||
[InlineArray(4)]
|
||||
public struct nint_4
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 4;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public nint Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of SoftBodySharedSettings.SkinWeight with a fixed size of 4.
|
||||
/// </summary>
|
||||
[InlineArray(4)]
|
||||
public struct SkinWeight_4
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 4;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public SoftBodySharedSettings.SkinWeight Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of uint with a fixed size of 2.
|
||||
/// </summary>
|
||||
[InlineArray(2)]
|
||||
public struct uint_2
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 2;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public uint Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of uint with a fixed size of 3.
|
||||
/// </summary>
|
||||
[InlineArray(3)]
|
||||
public struct uint_3
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 3;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public uint Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of uint with a fixed size of 4.
|
||||
/// </summary>
|
||||
[InlineArray(4)]
|
||||
public struct uint_4
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 4;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public uint Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of ushort with a fixed size of 4.
|
||||
/// </summary>
|
||||
[InlineArray(4)]
|
||||
public struct ushort_4
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of elements in the inline array.
|
||||
/// </summary>
|
||||
public const int Length = 4;
|
||||
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public ushort Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A fixed-capacity JPH::StaticArray<float, 64>: the first Size entries of Elements are live.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 260)]
|
||||
public struct StaticArrayFloat_64
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint Size;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public float_64 Elements;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A fixed-capacity JPH::StaticArray<Vec3, 32>: the first Size entries of Elements are live. Each slot is
|
||||
/// a 16-byte Vec3, so xyz is the vector and w is padding.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 528)]
|
||||
public struct StaticArrayVec3_32
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint Size;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float4_32 Elements;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A fixed-capacity JPH::StaticArray<Vec3, 64>: the first Size entries of Elements are live. Each slot is
|
||||
/// a 16-byte Vec3, so xyz is the vector and w is padding.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 1040)]
|
||||
public struct StaticArrayVec3_64
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint Size;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float4_64 Elements;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue