brutal/Brutal.Jolt/Generated/PInvoke/HeightFieldShape.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

143 lines
6.9 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="HeightFieldShape.Create()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_Create")]
public static partial HeightFieldShape HeightFieldShape_Create();
/// <inheritdoc cref="HeightFieldShape.Create(HeightFieldShapeSettings)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_Create_2")]
public static partial HeightFieldShape HeightFieldShape_Create_2(HeightFieldShapeSettings settings);
/// <inheritdoc cref="HeightFieldShape.Clone()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_Clone")]
public static partial HeightFieldShape HeightFieldShape_Clone(HeightFieldShape self);
/// <inheritdoc cref="HeightFieldShape.GetSampleCount()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetSampleCount")]
public static partial uint HeightFieldShape_GetSampleCount(HeightFieldShape self);
/// <inheritdoc cref="HeightFieldShape.GetBlockSize()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetBlockSize")]
public static partial uint HeightFieldShape_GetBlockSize(HeightFieldShape self);
/// <inheritdoc cref="HeightFieldShape.GetMaterial(uint, uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetMaterial")]
public static partial PhysicsMaterial HeightFieldShape_GetMaterial(HeightFieldShape self, uint x, uint y);
/// <inheritdoc cref="HeightFieldShape.GetPosition(uint, uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetPosition")]
public static partial float3 HeightFieldShape_GetPosition(HeightFieldShape self, uint x, uint y);
/// <inheritdoc cref="HeightFieldShape.IsNoCollision(uint, uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_IsNoCollision")]
public static partial Brutal.Bool8 HeightFieldShape_IsNoCollision(HeightFieldShape self, uint x, uint y);
/// <inheritdoc cref="HeightFieldShape.ProjectOntoSurface(float3, out float3, out uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_ProjectOntoSurface")]
public static partial Brutal.Bool8 HeightFieldShape_ProjectOntoSurface(
HeightFieldShape self,
float3 localPosition,
out float3 surfacePosition,
out uint subShapeID
);
/// <inheritdoc cref="HeightFieldShape.GetSubShapeCoordinates(uint, out uint, out uint, out uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetSubShapeCoordinates")]
public static partial void HeightFieldShape_GetSubShapeCoordinates(
HeightFieldShape self,
uint subShapeID,
out uint x,
out uint y,
out uint triangleIndex
);
/// <inheritdoc cref="HeightFieldShape.GetMinHeightValue()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetMinHeightValue")]
public static partial float HeightFieldShape_GetMinHeightValue(HeightFieldShape self);
/// <inheritdoc cref="HeightFieldShape.GetMaxHeightValue()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetMaxHeightValue")]
public static partial float HeightFieldShape_GetMaxHeightValue(HeightFieldShape self);
/// <inheritdoc cref="HeightFieldShape.GetHeights(uint, uint, uint, uint, Ptr{float}, long)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetHeights")]
public static partial void HeightFieldShape_GetHeights(
HeightFieldShape self,
uint x,
uint y,
uint sizeX,
uint sizeY,
float* heights,
long heightsStride
);
/// <inheritdoc cref="HeightFieldShape.SetHeights(uint, uint, uint, uint, Ptr{float}, long, TempAllocator, float)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_SetHeights")]
public static partial void HeightFieldShape_SetHeights(
HeightFieldShape self,
uint x,
uint y,
uint sizeX,
uint sizeY,
float* heights,
long heightsStride,
TempAllocator allocator,
float activeEdgeCosThresholdAngle
);
/// <inheritdoc cref="HeightFieldShape.GetMaterialList()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetMaterialList")]
public static partial nint HeightFieldShape_GetMaterialList(HeightFieldShape self);
/// <inheritdoc cref="HeightFieldShape.GetMaterials(uint, uint, uint, uint, Ptr{byte}, long)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetMaterials")]
public static partial void HeightFieldShape_GetMaterials(
HeightFieldShape self,
uint x,
uint y,
uint sizeX,
uint sizeY,
byte* materials,
long materialsStride
);
/// <inheritdoc cref="HeightFieldShape.SetMaterials(uint, uint, uint, uint, Ptr{byte}, long, ReadOnlySpan{PhysicsMaterial}, TempAllocator)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_SetMaterials")]
public static partial Brutal.Bool8 HeightFieldShape_SetMaterials(
HeightFieldShape self,
uint x,
uint y,
uint sizeX,
uint sizeY,
byte* materials,
long materialsStride,
PhysicsMaterial* materialList,
nuint materialListCount,
TempAllocator allocator
);
/// <inheritdoc cref="HeightFieldShape.Register()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_Register")]
public static partial void HeightFieldShape_Register();
/// <inheritdoc cref="HeightFieldShape.GetDrawTriangleOutlines()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_GetDrawTriangleOutlines")]
public static partial Brutal.Bool8 HeightFieldShape_GetDrawTriangleOutlines();
/// <inheritdoc cref="HeightFieldShape.SetDrawTriangleOutlines(bool)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShape_SetDrawTriangleOutlines")]
public static partial void HeightFieldShape_SetDrawTriangleOutlines(Brutal.Bool8 value);
}
}
}