//
// 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 = "MeshShapeSettings_Create")]
public static partial MeshShapeSettings MeshShapeSettings_Create(
Triangle* triangles,
nuint trianglesCount,
PhysicsMaterial* materials,
nuint materialsCount
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_Create_2")]
public static partial MeshShapeSettings MeshShapeSettings_Create_2();
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_Create_3")]
public static partial MeshShapeSettings MeshShapeSettings_Create_3(
float3* vertices,
nuint verticesCount,
IndexedTriangle* triangles,
nuint trianglesCount,
PhysicsMaterial* materials,
nuint materialsCount
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_Sanitize")]
public static partial void MeshShapeSettings_Sanitize(MeshShapeSettings self);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetTriangleVertices")]
public static partial void MeshShapeSettings_GetTriangleVertices(
MeshShapeSettings self,
out NativeSpanView outResult
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetTriangleVertices")]
public static partial void MeshShapeSettings_SetTriangleVertices(
MeshShapeSettings self,
float3* value,
nuint valueCount
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetIndexedTriangles")]
public static partial void MeshShapeSettings_GetIndexedTriangles(
MeshShapeSettings self,
out NativeSpanView outResult
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetIndexedTriangles")]
public static partial void MeshShapeSettings_SetIndexedTriangles(
MeshShapeSettings self,
IndexedTriangle* value,
nuint valueCount
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetMaterials")]
public static partial nint MeshShapeSettings_GetMaterials(MeshShapeSettings self);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetMaterials")]
public static partial void MeshShapeSettings_SetMaterials(
MeshShapeSettings self,
PhysicsMaterial* value,
nuint valueCount
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetMaxTrianglesPerLeaf")]
[SuppressGCTransition]
public static partial uint MeshShapeSettings_GetMaxTrianglesPerLeaf(MeshShapeSettings self);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetMaxTrianglesPerLeaf")]
[SuppressGCTransition]
public static partial void MeshShapeSettings_SetMaxTrianglesPerLeaf(MeshShapeSettings self, uint value);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetActiveEdgeCosThresholdAngle")]
[SuppressGCTransition]
public static partial float MeshShapeSettings_GetActiveEdgeCosThresholdAngle(MeshShapeSettings self);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetActiveEdgeCosThresholdAngle")]
[SuppressGCTransition]
public static partial void MeshShapeSettings_SetActiveEdgeCosThresholdAngle(
MeshShapeSettings self,
float value
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetPerTriangleUserData")]
[SuppressGCTransition]
public static partial Brutal.Bool8 MeshShapeSettings_GetPerTriangleUserData(MeshShapeSettings self);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetPerTriangleUserData")]
[SuppressGCTransition]
public static partial void MeshShapeSettings_SetPerTriangleUserData(
MeshShapeSettings self,
Brutal.Bool8 value
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetBuildQuality")]
[SuppressGCTransition]
public static partial MeshShapeSettings.BuildQuality MeshShapeSettings_GetBuildQuality(
MeshShapeSettings self
);
///
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetBuildQuality")]
[SuppressGCTransition]
public static partial void MeshShapeSettings_SetBuildQuality(
MeshShapeSettings self,
MeshShapeSettings.BuildQuality value
);
}
}
}