brutal/Brutal.Jolt/Generated/PInvoke/InternalEdgeRemovingCollector.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

107 lines
5.8 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
{
/// <inheritdoc cref="InternalEdgeRemovingCollector.Reset()"/>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_Reset")]
public static partial void InternalEdgeRemovingCollector_Reset(InternalEdgeRemovingCollector self);
/// <inheritdoc cref="InternalEdgeRemovingCollector.OnBody(Body)"/>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_OnBody")]
public static partial void InternalEdgeRemovingCollector_OnBody(
InternalEdgeRemovingCollector self,
Body body
);
/// <inheritdoc cref="InternalEdgeRemovingCollector.AddHit(in CollideShapeResult)"/>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_AddHit")]
public static partial void InternalEdgeRemovingCollector_AddHit(
InternalEdgeRemovingCollector self,
in CollideShapeResult result
);
/// <inheritdoc cref="InternalEdgeRemovingCollector.Flush()"/>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_Flush")]
public static partial void InternalEdgeRemovingCollector_Flush(InternalEdgeRemovingCollector self);
/// <inheritdoc cref="InternalEdgeRemovingCollector.OnBodyEnd()"/>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_OnBodyEnd")]
public static partial void InternalEdgeRemovingCollector_OnBodyEnd(InternalEdgeRemovingCollector self);
/// <summary>
/// <para>
/// Version of CollisionDispatch::sCollideShapeVsShape that removes internal edges
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/InternalEdgeRemovingCollector.h#L245">Jolt/Physics/Collision/InternalEdgeRemovingCollector.h:245</see>
/// <br/>
/// <c>static void sCollideShapeVsShape(const Shape *inShape1, const Shape *inShape2, Vec3Arg inScale1, Vec3Arg inScale2, Mat44Arg inCenterOfMassTransform1, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &amp;inSubShapeIDCreator1, const SubShapeIDCreator &amp;inSubShapeIDCreator2, const CollideShapeSettings &amp;inCollideShapeSettings, CollideShapeCollector &amp;ioCollector, const ShapeFilter &amp;inShapeFilter = { }</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collects every hit into collideshapevsshaperesults, which you allocate and size. Returns how many
/// were written; totalHits is how many the query found, so a larger span is needed when it exceeds the
/// span's length.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_CollideShapeVsShape")]
public static partial uint InternalEdgeRemovingCollector_CollideShapeVsShape(
Shape shape1,
Shape shape2,
float3 scale1,
float3 scale2,
in float4x4 centerOfMassTransform1,
in float4x4 centerOfMassTransform2,
SubShapeIDCreator subShapeIDCreator1,
SubShapeIDCreator subShapeIDCreator2,
CollideShapeSettings collideShapeSettings,
CollideShapeResult* buffer,
uint capacity,
ShapeFilter shapeFilter
);
/// <summary>
/// <para>
/// Version of CollisionDispatch::sCollideShapeVsShape that removes internal edges
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/InternalEdgeRemovingCollector.h#L245">Jolt/Physics/Collision/InternalEdgeRemovingCollector.h:245</see>
/// <br/>
/// <c>static void sCollideShapeVsShape(const Shape *inShape1, const Shape *inShape2, Vec3Arg inScale1, Vec3Arg inScale2, Mat44Arg inCenterOfMassTransform1, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &amp;inSubShapeIDCreator1, const SubShapeIDCreator &amp;inSubShapeIDCreator2, const CollideShapeSettings &amp;inCollideShapeSettings, CollideShapeCollector &amp;ioCollector, const ShapeFilter &amp;inShapeFilter = { }</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Keeps only the closest (or deepest) hit. Returns false, and writes a native default-constructed
/// result (e.g. RayCastResult's fraction is 1 + epsilon), when nothing was hit.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_CollideShapeVsShapeClosest")]
public static partial uint InternalEdgeRemovingCollector_CollideShapeVsShapeClosest(
Shape shape1,
Shape shape2,
float3 scale1,
float3 scale2,
in float4x4 centerOfMassTransform1,
in float4x4 centerOfMassTransform2,
SubShapeIDCreator subShapeIDCreator1,
SubShapeIDCreator subShapeIDCreator2,
CollideShapeSettings collideShapeSettings,
out CollideShapeResult result,
ShapeFilter shapeFilter
);
}
}
}