//
// 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 = "IslandBuilder_Create")]
public static partial IslandBuilder IslandBuilder_Create();
[LibraryImport("jolt", EntryPoint = "IslandBuilder_Destroy")]
public static partial void IslandBuilder_Destroy(IslandBuilder self);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_Init")]
public static partial void IslandBuilder_Init(IslandBuilder self, uint maxActiveBodies);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_PrepareContactConstraints")]
public static partial void IslandBuilder_PrepareContactConstraints(
IslandBuilder self,
uint maxContactConstraints,
TempAllocator tempAllocator
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_PrepareNonContactConstraints")]
public static partial void IslandBuilder_PrepareNonContactConstraints(
IslandBuilder self,
uint numConstraints,
TempAllocator tempAllocator
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_LinkBodies")]
public static partial void IslandBuilder_LinkBodies(IslandBuilder self, uint first, uint second);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_LinkConstraint")]
public static partial void IslandBuilder_LinkConstraint(
IslandBuilder self,
uint constraintIndex,
uint indexInActiveBodyList
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_LinkContact")]
public static partial void IslandBuilder_LinkContact(
IslandBuilder self,
uint contactIndex,
uint indexInActiveBodyList
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_Complete")]
public static partial void IslandBuilder_Complete(
IslandBuilder self,
uint* activeBodies,
uint numActiveBodies,
uint numContacts,
TempAllocator tempAllocator
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_GetNumIslands")]
public static partial uint IslandBuilder_GetNumIslands(IslandBuilder self);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_SetNumPositionSteps")]
public static partial void IslandBuilder_SetNumPositionSteps(
IslandBuilder self,
uint islandIndex,
uint numPositionSteps,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_GetNumPositionSteps")]
public static partial uint IslandBuilder_GetNumPositionSteps(
IslandBuilder self,
uint islandIndex,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "IslandBuilder_ResetIslands")]
public static partial void IslandBuilder_ResetIslands(IslandBuilder self, TempAllocator tempAllocator);
}
}
}