//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
///
///
/// C++:
/// Jolt/Math/DynMatrix.h:10
///
/// class DynMatrix
///
///
///
///
/// Dynamic resizable matrix class
///
///
[InteropHandle]
public readonly partial struct DynMatrix : IDisposable
{
///
///
/// C++:
/// Jolt/Math/DynMatrix.h:15
///
/// DynMatrix(uint inRows, uint inCols)
///
///
public static DynMatrix Create(uint rows, uint cols) => Jolt.PInvoke.DynMatrix_Create(rows, cols);
///
///
/// C++:
/// Jolt/Math/DynMatrix.h:22
///
/// uint GetCols() const
///
///
///
///
/// Get dimensions
///
///
public uint GetCols() => Jolt.PInvoke.DynMatrix_GetCols(this);
///
///
/// C++:
/// Jolt/Math/DynMatrix.h:23
///
/// uint GetRows() const
///
///
public uint GetRows() => Jolt.PInvoke.DynMatrix_GetRows(this);
public void Dispose() => Jolt.PInvoke.DynMatrix_Destroy(this);
}
}