mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,110 @@
|
|||
// <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 = "LargeIslandSplitter_Create")]
|
||||
public static partial LargeIslandSplitter LargeIslandSplitter_Create();
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_Destroy")]
|
||||
public static partial void LargeIslandSplitter_Destroy(LargeIslandSplitter self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/LargeIslandSplitter.h#L139">Jolt/Physics/LargeIslandSplitter.h:139</see>
|
||||
/// <br/>
|
||||
/// <c>void Prepare(const IslandBuilder &inIslandBuilder, uint32 inNumActiveBodies, TempAllocator *inTempAllocator)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Prepare the island splitter by allocating memory
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_Prepare")]
|
||||
public static partial void LargeIslandSplitter_Prepare(LargeIslandSplitter self, IslandBuilder islandBuilder, uint numActiveBodies, TempAllocator tempAllocator);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/LargeIslandSplitter.h#L142">Jolt/Physics/LargeIslandSplitter.h:142</see>
|
||||
/// <br/>
|
||||
/// <c>uint AssignSplit(const Body *inBody1, const Body *inBody2)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Assign two bodies to a split. Returns the split index.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_AssignSplit")]
|
||||
public static partial uint LargeIslandSplitter_AssignSplit(LargeIslandSplitter self, Body body1, Body body2);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/LargeIslandSplitter.h#L145">Jolt/Physics/LargeIslandSplitter.h:145</see>
|
||||
/// <br/>
|
||||
/// <c>uint AssignToNonParallelSplit(const Body *inBody)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Force a body to be in a non parallel split. Returns the split index.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_AssignToNonParallelSplit")]
|
||||
public static partial uint LargeIslandSplitter_AssignToNonParallelSplit(LargeIslandSplitter self, Body body);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/LargeIslandSplitter.h#L157">Jolt/Physics/LargeIslandSplitter.h:157</see>
|
||||
/// <br/>
|
||||
/// <c>inline uint32 GetIslandIndex(uint inSplitIslandIndex) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the island index of the island that was split for a particular split island index
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_GetIslandIndex")]
|
||||
public static partial uint LargeIslandSplitter_GetIslandIndex(LargeIslandSplitter self, uint splitIslandIndex);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/LargeIslandSplitter.h#L164">Jolt/Physics/LargeIslandSplitter.h:164</see>
|
||||
/// <br/>
|
||||
/// <c>void PrepareForSolvePositions()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Prepare the island splitter for iterating over the split islands again for position solving. Marks
|
||||
/// all batches as startable.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_PrepareForSolvePositions")]
|
||||
public static partial void LargeIslandSplitter_PrepareForSolvePositions(LargeIslandSplitter self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/LargeIslandSplitter.h#L167">Jolt/Physics/LargeIslandSplitter.h:167</see>
|
||||
/// <br/>
|
||||
/// <c>void Reset(TempAllocator *inTempAllocator)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Reset the island splitter
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "LargeIslandSplitter_Reset")]
|
||||
public static partial void LargeIslandSplitter_Reset(LargeIslandSplitter self, TempAllocator tempAllocator);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue