//
// 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 = "ConvexHullShape_Create")]
public static partial ConvexHullShape ConvexHullShape_Create();
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_Create_2")]
public static partial ConvexHullShape ConvexHullShape_Create_2(ConvexHullShapeSettings settings);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_DrawShrunkShape")]
public static partial void ConvexHullShape_DrawShrunkShape(
ConvexHullShape self,
DebugRenderer renderer,
in float4x4 centerOfMassTransform,
float3 scale
);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetConvexRadius")]
public static partial float ConvexHullShape_GetConvexRadius(ConvexHullShape self);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetPlanes")]
public static partial void ConvexHullShape_GetPlanes(ConvexHullShape self, out NativeSpanView outResult);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetNumPoints")]
public static partial uint ConvexHullShape_GetNumPoints(ConvexHullShape self);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetPoint")]
public static partial float3 ConvexHullShape_GetPoint(
ConvexHullShape self,
uint index,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetNumFaces")]
public static partial uint ConvexHullShape_GetNumFaces(ConvexHullShape self);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetNumVerticesInFace")]
public static partial uint ConvexHullShape_GetNumVerticesInFace(
ConvexHullShape self,
uint faceIndex,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetFaceVertices")]
public static partial uint ConvexHullShape_GetFaceVertices(
ConvexHullShape self,
uint faceIndex,
uint maxVertices,
uint* vertices,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_Register")]
public static partial void ConvexHullShape_Register();
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetMaxPointsInHull")]
public static partial int ConvexHullShape_GetMaxPointsInHull();
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetDrawFaceOutlines")]
public static partial Brutal.Bool8 ConvexHullShape_GetDrawFaceOutlines();
///
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_SetDrawFaceOutlines")]
public static partial void ConvexHullShape_SetDrawFaceOutlines(Brutal.Bool8 value);
}
}
}