// // 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 = "LargeIslandSplitter_Create")] public static partial LargeIslandSplitter LargeIslandSplitter_Create(); [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_Destroy")] public static partial void LargeIslandSplitter_Destroy(LargeIslandSplitter self); /// /// /// C++: /// Jolt/Physics/LargeIslandSplitter.h:139 ///
/// void Prepare(const IslandBuilder &inIslandBuilder, uint32 inNumActiveBodies, TempAllocator *inTempAllocator) ///
///
/// /// /// Prepare the island splitter by allocating memory /// /// [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_Prepare")] public static partial void LargeIslandSplitter_Prepare(LargeIslandSplitter self, IslandBuilder islandBuilder, uint numActiveBodies, TempAllocator tempAllocator); /// /// /// C++: /// Jolt/Physics/LargeIslandSplitter.h:142 ///
/// uint AssignSplit(const Body *inBody1, const Body *inBody2) ///
///
/// /// /// Assign two bodies to a split. Returns the split index. /// /// [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_AssignSplit")] public static partial uint LargeIslandSplitter_AssignSplit(LargeIslandSplitter self, Body body1, Body body2); /// /// /// C++: /// Jolt/Physics/LargeIslandSplitter.h:145 ///
/// uint AssignToNonParallelSplit(const Body *inBody) ///
///
/// /// /// Force a body to be in a non parallel split. Returns the split index. /// /// [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_AssignToNonParallelSplit")] public static partial uint LargeIslandSplitter_AssignToNonParallelSplit(LargeIslandSplitter self, Body body); /// /// /// C++: /// Jolt/Physics/LargeIslandSplitter.h:157 ///
/// inline uint32 GetIslandIndex(uint inSplitIslandIndex) const ///
///
/// /// /// Get the island index of the island that was split for a particular split island index /// /// [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_GetIslandIndex")] public static partial uint LargeIslandSplitter_GetIslandIndex(LargeIslandSplitter self, uint splitIslandIndex); /// /// /// C++: /// Jolt/Physics/LargeIslandSplitter.h:164 ///
/// void PrepareForSolvePositions() ///
///
/// /// /// Prepare the island splitter for iterating over the split islands again for position solving. Marks /// all batches as startable. /// /// [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_PrepareForSolvePositions")] public static partial void LargeIslandSplitter_PrepareForSolvePositions(LargeIslandSplitter self); /// /// /// C++: /// Jolt/Physics/LargeIslandSplitter.h:167 ///
/// void Reset(TempAllocator *inTempAllocator) ///
///
/// /// /// Reset the island splitter /// /// [LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_Reset")] public static partial void LargeIslandSplitter_Reset(LargeIslandSplitter self, TempAllocator tempAllocator); } } }