mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
50 lines
2.1 KiB
C#
50 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
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Create")]
|
|
public static partial LFHMAllocator LFHMAllocator_Create();
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Destroy")]
|
|
public static partial void LFHMAllocator_Destroy(LFHMAllocator self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/LockFreeHashMap.h#L21">Jolt/Core/LockFreeHashMap.h:21</see>
|
|
/// <br/>
|
|
/// <c>inline void Init(uint inObjectStoreSizeBytes)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Initialize the allocator
|
|
/// @param inObjectStoreSizeBytes Number of bytes to reserve for all key value pairs
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Init")]
|
|
public static partial void LFHMAllocator_Init(LFHMAllocator self, uint objectStoreSizeBytes);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/LockFreeHashMap.h#L24">Jolt/Core/LockFreeHashMap.h:24</see>
|
|
/// <br/>
|
|
/// <c>inline void Clear()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Clear all allocations
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Clear")]
|
|
public static partial void LFHMAllocator_Clear(LFHMAllocator self);
|
|
}
|
|
}
|
|
}
|