//
// 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 = "CompoundShape_GetIntersectingSubShapes")]
public static partial int CompoundShape_GetIntersectingSubShapes(
CompoundShape self,
in AABox box,
uint* subShapeIndices,
int maxSubShapeIndices
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetIntersectingSubShapes_2")]
public static partial int CompoundShape_GetIntersectingSubShapes_2(
CompoundShape self,
OrientedBox box,
uint* subShapeIndices,
int maxSubShapeIndices
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShapes")]
public static partial void CompoundShape_GetSubShapes(CompoundShape self, out NativeSpanView outResult);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetNumSubShapes")]
public static partial uint CompoundShape_GetNumSubShapes(CompoundShape self);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShape")]
public static partial void CompoundShape_GetSubShape(
CompoundShape self,
uint idx,
out uint outInRange,
out CompoundShape.SubShape outResult
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetCompoundUserData")]
public static partial uint CompoundShape_GetCompoundUserData(
CompoundShape self,
uint idx,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_SetCompoundUserData")]
public static partial void CompoundShape_SetCompoundUserData(
CompoundShape self,
uint idx,
uint userData,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_IsSubShapeIDValid")]
public static partial Brutal.Bool8 CompoundShape_IsSubShapeIDValid(CompoundShape self, uint subShapeID);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShapeIndexFromID")]
public static partial uint CompoundShape_GetSubShapeIndexFromID(
CompoundShape self,
uint subShapeID,
out uint remainder
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShapeIDFromIndex")]
public static partial SubShapeIDCreator CompoundShape_GetSubShapeIDFromIndex(
CompoundShape self,
int idx,
SubShapeIDCreator parentSubShapeID,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "CompoundShape_Register")]
public static partial void CompoundShape_Register();
}
}
}