brutal/Brutal.Jolt/Generated/Classes/DynMatrix.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

60 lines
2.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// Dynamic resizable matrix class
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Math/DynMatrix.h#L10">Jolt/Math/DynMatrix.h:10</see>
/// <br/>
/// <c>class DynMatrix</c>
/// </para>
/// </summary>
[InteropHandle]
public readonly partial struct DynMatrix : IDisposable
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Math/DynMatrix.h#L15">Jolt/Math/DynMatrix.h:15</see>
/// <br/>
/// <c>DynMatrix(uint inRows, uint inCols)</c>
/// </para>
/// </summary>
public static DynMatrix Create(uint rows, uint cols) => Jolt.PInvoke.DynMatrix_Create(rows, cols);
/// <summary>
/// <para>
/// Get dimensions
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Math/DynMatrix.h#L22">Jolt/Math/DynMatrix.h:22</see>
/// <br/>
/// <c>uint GetCols() const</c>
/// </para>
/// </summary>
public uint GetCols() => Jolt.PInvoke.DynMatrix_GetCols(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Math/DynMatrix.h#L23">Jolt/Math/DynMatrix.h:23</see>
/// <br/>
/// <c>uint GetRows() const</c>
/// </para>
/// </summary>
public uint GetRows() => Jolt.PInvoke.DynMatrix_GetRows(this);
public void Dispose() => Jolt.PInvoke.DynMatrix_Destroy(this);
}
}