// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Physics/PhysicsLock.h:32 ///
/// class PhysicsLock ///
///
/// /// /// 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 /// /// [InteropHandle] public readonly partial struct PhysicsLock : IDisposable { public static PhysicsLock Create() => Jolt.PInvoke.PhysicsLock_Create(); public void Dispose() => Jolt.PInvoke.PhysicsLock_Destroy(this); } }