mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
136 lines
6.6 KiB
C#
136 lines
6.6 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="MeshShapeSettings.Create(ReadOnlySpan{Triangle}, ReadOnlySpan{PhysicsMaterial})"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_Create")]
|
|
public static partial MeshShapeSettings MeshShapeSettings_Create(
|
|
Triangle* triangles,
|
|
nuint trianglesCount,
|
|
PhysicsMaterial* materials,
|
|
nuint materialsCount
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.Create()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_Create_2")]
|
|
public static partial MeshShapeSettings MeshShapeSettings_Create_2();
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.Create(ReadOnlySpan{float3}, ReadOnlySpan{IndexedTriangle}, ReadOnlySpan{PhysicsMaterial})"/>
|
|
[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
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.Sanitize()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_Sanitize")]
|
|
public static partial void MeshShapeSettings_Sanitize(MeshShapeSettings self);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetTriangleVertices()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetTriangleVertices")]
|
|
public static partial void MeshShapeSettings_GetTriangleVertices(
|
|
MeshShapeSettings self,
|
|
out NativeSpanView outResult
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetTriangleVertices(ReadOnlySpan{float3})"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetTriangleVertices")]
|
|
public static partial void MeshShapeSettings_SetTriangleVertices(
|
|
MeshShapeSettings self,
|
|
float3* value,
|
|
nuint valueCount
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetIndexedTriangles()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetIndexedTriangles")]
|
|
public static partial void MeshShapeSettings_GetIndexedTriangles(
|
|
MeshShapeSettings self,
|
|
out NativeSpanView outResult
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetIndexedTriangles(ReadOnlySpan{IndexedTriangle})"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetIndexedTriangles")]
|
|
public static partial void MeshShapeSettings_SetIndexedTriangles(
|
|
MeshShapeSettings self,
|
|
IndexedTriangle* value,
|
|
nuint valueCount
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetMaterials()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetMaterials")]
|
|
public static partial nint MeshShapeSettings_GetMaterials(MeshShapeSettings self);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetMaterials(ReadOnlySpan{PhysicsMaterial})"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetMaterials")]
|
|
public static partial void MeshShapeSettings_SetMaterials(
|
|
MeshShapeSettings self,
|
|
PhysicsMaterial* value,
|
|
nuint valueCount
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetMaxTrianglesPerLeaf()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetMaxTrianglesPerLeaf")]
|
|
[SuppressGCTransition]
|
|
public static partial uint MeshShapeSettings_GetMaxTrianglesPerLeaf(MeshShapeSettings self);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetMaxTrianglesPerLeaf(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetMaxTrianglesPerLeaf")]
|
|
[SuppressGCTransition]
|
|
public static partial void MeshShapeSettings_SetMaxTrianglesPerLeaf(MeshShapeSettings self, uint value);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetActiveEdgeCosThresholdAngle()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetActiveEdgeCosThresholdAngle")]
|
|
[SuppressGCTransition]
|
|
public static partial float MeshShapeSettings_GetActiveEdgeCosThresholdAngle(MeshShapeSettings self);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetActiveEdgeCosThresholdAngle(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetActiveEdgeCosThresholdAngle")]
|
|
[SuppressGCTransition]
|
|
public static partial void MeshShapeSettings_SetActiveEdgeCosThresholdAngle(
|
|
MeshShapeSettings self,
|
|
float value
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetPerTriangleUserData()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetPerTriangleUserData")]
|
|
[SuppressGCTransition]
|
|
public static partial Brutal.Bool8 MeshShapeSettings_GetPerTriangleUserData(MeshShapeSettings self);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetPerTriangleUserData(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetPerTriangleUserData")]
|
|
[SuppressGCTransition]
|
|
public static partial void MeshShapeSettings_SetPerTriangleUserData(
|
|
MeshShapeSettings self,
|
|
Brutal.Bool8 value
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.GetBuildQuality()"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_GetBuildQuality")]
|
|
[SuppressGCTransition]
|
|
public static partial MeshShapeSettings.BuildQuality MeshShapeSettings_GetBuildQuality(
|
|
MeshShapeSettings self
|
|
);
|
|
|
|
/// <inheritdoc cref="MeshShapeSettings.SetBuildQuality(MeshShapeSettings.BuildQuality)"/>
|
|
[LibraryImport("jolt", EntryPoint = "MeshShapeSettings_SetBuildQuality")]
|
|
[SuppressGCTransition]
|
|
public static partial void MeshShapeSettings_SetBuildQuality(
|
|
MeshShapeSettings self,
|
|
MeshShapeSettings.BuildQuality value
|
|
);
|
|
}
|
|
}
|
|
}
|