mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
51 lines
2.3 KiB
C#
51 lines
2.3 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 = "TempAllocatorMalloc_Create")]
|
|
public static partial TempAllocatorMalloc TempAllocatorMalloc_Create();
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorMalloc_Destroy")]
|
|
public static partial void TempAllocatorMalloc_Destroy(TempAllocatorMalloc self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/TempAllocator.h#L141">Jolt/Core/TempAllocator.h:141</see>
|
|
/// <br/>
|
|
/// <c>virtual void * Allocate(uint inSize) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: TempAllocator
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorMalloc_Allocate")]
|
|
public static partial void* TempAllocatorMalloc_Allocate(TempAllocatorMalloc self, uint size);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/TempAllocator.h#L155">Jolt/Core/TempAllocator.h:155</see>
|
|
/// <br/>
|
|
/// <c>virtual void Free(void *inAddress, uint inSize) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: TempAllocator
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorMalloc_Free")]
|
|
public static partial void TempAllocatorMalloc_Free(TempAllocatorMalloc self, void* address, uint size);
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorMalloc_AsTempAllocator")]
|
|
public static partial TempAllocator TempAllocatorMalloc_AsTempAllocator(TempAllocatorMalloc self);
|
|
}
|
|
}
|
|
}
|