//
// 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 = "InternalEdgeRemovingCollector_Reset")]
public static partial void InternalEdgeRemovingCollector_Reset(InternalEdgeRemovingCollector self);
///
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_OnBody")]
public static partial void InternalEdgeRemovingCollector_OnBody(
InternalEdgeRemovingCollector self,
Body body
);
///
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_AddHit")]
public static partial void InternalEdgeRemovingCollector_AddHit(
InternalEdgeRemovingCollector self,
in CollideShapeResult result
);
///
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_Flush")]
public static partial void InternalEdgeRemovingCollector_Flush(InternalEdgeRemovingCollector self);
///
[LibraryImport("jolt", EntryPoint = "InternalEdgeRemovingCollector_OnBodyEnd")]
public static partial void InternalEdgeRemovingCollector_OnBodyEnd(InternalEdgeRemovingCollector self);
///
///
/// Version of CollisionDispatch::sCollideShapeVsShape that removes internal edges
///
///
/// C++:
/// Jolt/Physics/Collision/InternalEdgeRemovingCollector.h:245
///
/// static void sCollideShapeVsShape(const Shape *inShape1, const Shape *inShape2, Vec3Arg inScale1, Vec3Arg inScale2, Mat44Arg inCenterOfMassTransform1, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, const SubShapeIDCreator &inSubShapeIDCreator2, const CollideShapeSettings &inCollideShapeSettings, CollideShapeCollector &ioCollector, const ShapeFilter &inShapeFilter = { }
///
///
///
///
/// 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.
///
///
[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
);
///
///
/// Version of CollisionDispatch::sCollideShapeVsShape that removes internal edges
///
///
/// C++:
/// Jolt/Physics/Collision/InternalEdgeRemovingCollector.h:245
///
/// static void sCollideShapeVsShape(const Shape *inShape1, const Shape *inShape2, Vec3Arg inScale1, Vec3Arg inScale2, Mat44Arg inCenterOfMassTransform1, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, const SubShapeIDCreator &inSubShapeIDCreator2, const CollideShapeSettings &inCollideShapeSettings, CollideShapeCollector &ioCollector, const ShapeFilter &inShapeFilter = { }
///
///
///
///
/// 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.
///
///
[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
);
}
}
}