mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
29
brutal.jolt/Brutal.Jolt/Generated/Classes/PhysicsLock.gen.cs
Normal file
29
brutal.jolt/Brutal.Jolt/Generated/Classes/PhysicsLock.gen.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
// <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/Physics/PhysicsLock.h#L32">Jolt/Physics/PhysicsLock.h:32</see>
|
||||
/// <br/>
|
||||
/// <c>class PhysicsLock</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct PhysicsLock : IDisposable
|
||||
{
|
||||
public static PhysicsLock Create() => Jolt.PInvoke.PhysicsLock_Create();
|
||||
public void Dispose() => Jolt.PInvoke.PhysicsLock_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue