brutal/brutal.jolt/Brutal.Jolt/Generated/Classes/DynMatrix.gen.cs
2026-10-15 14:12:02 +13:00

59 lines
2.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Math/DynMatrix.h#L10">Jolt/Math/DynMatrix.h:10</see>
/// <br/>
/// <c>class DynMatrix</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Dynamic resizable matrix class
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct DynMatrix : IDisposable
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Math/DynMatrix.h#L22">Jolt/Math/DynMatrix.h:22</see>
/// <br/>
/// <c>uint GetCols() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get dimensions
/// </para>
/// </remarks>
public uint GetCols() => Jolt.PInvoke.DynMatrix_GetCols(this);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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);
}
}