mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
41 lines
1.6 KiB
C#
41 lines
1.6 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 = "StaticCompoundShapeSettings_Create")]
|
|
public static partial StaticCompoundShapeSettings StaticCompoundShapeSettings_Create();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Specialization of Create() function that allows specifying a temp allocator to avoid temporary
|
|
/// memory allocations on the heap
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/StaticCompoundShape.h#L27">Jolt/Physics/Collision/Shape/StaticCompoundShape.h:27</see>
|
|
/// <br/>
|
|
/// <c>ShapeResult Create(TempAllocator &inTempAllocator) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "StaticCompoundShapeSettings_CreateShape")]
|
|
public static partial Shape StaticCompoundShapeSettings_CreateShape(
|
|
StaticCompoundShapeSettings self,
|
|
TempAllocator tempAllocator
|
|
);
|
|
}
|
|
}
|
|
}
|