//
// 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
{
///
///
/// Helpers to safely lock the different mutexes that are part of the physics system while preventing deadlock
/// Class that keeps track per thread which lock are taken and if the order of locking is correct
///
///
/// C++:
/// Jolt/Physics/PhysicsLock.h:32
///
/// class PhysicsLock
///
///
[InteropHandle]
public readonly partial struct PhysicsLock : IDisposable
{
public static PhysicsLock Create() => Jolt.PInvoke.PhysicsLock_Create();
public void Dispose() => Jolt.PInvoke.PhysicsLock_Destroy(this);
}
}