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

199 lines
10 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="HeightFieldShapeSettings.Create(Ptr{float}, float3, float3, uint, Ptr{byte}, ReadOnlySpan{PhysicsMaterial})"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_Create")]
public static partial HeightFieldShapeSettings HeightFieldShapeSettings_Create(
float* samples,
float3 offset,
float3 scale,
uint sampleCount,
byte* materialIndices,
PhysicsMaterial* materialList,
nuint materialListCount
);
/// <inheritdoc cref="HeightFieldShapeSettings.Create()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_Create_2")]
public static partial HeightFieldShapeSettings HeightFieldShapeSettings_Create_2();
/// <inheritdoc cref="HeightFieldShapeSettings.DetermineMinAndMaxSample(out float, out float, out float)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_DetermineMinAndMaxSample")]
public static partial void HeightFieldShapeSettings_DetermineMinAndMaxSample(
HeightFieldShapeSettings self,
out float minValue,
out float maxValue,
out float quantizationScale
);
/// <inheritdoc cref="HeightFieldShapeSettings.CalculateBitsPerSampleForError(float)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_CalculateBitsPerSampleForError")]
public static partial uint HeightFieldShapeSettings_CalculateBitsPerSampleForError(
HeightFieldShapeSettings self,
float maxError
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetOffset()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetOffset")]
[SuppressGCTransition]
public static partial float3 HeightFieldShapeSettings_GetOffset(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetOffset(float3)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetOffset")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetOffset(HeightFieldShapeSettings self, float3 value);
/// <inheritdoc cref="HeightFieldShapeSettings.GetScale()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetScale")]
[SuppressGCTransition]
public static partial float3 HeightFieldShapeSettings_GetScale(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetScale(float3)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetScale")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetScale(HeightFieldShapeSettings self, float3 value);
/// <inheritdoc cref="HeightFieldShapeSettings.GetSampleCount()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetSampleCount")]
[SuppressGCTransition]
public static partial uint HeightFieldShapeSettings_GetSampleCount(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetSampleCount(uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetSampleCount")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetSampleCount(
HeightFieldShapeSettings self,
uint value
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetMinHeightValue()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetMinHeightValue")]
[SuppressGCTransition]
public static partial float HeightFieldShapeSettings_GetMinHeightValue(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetMinHeightValue(float)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetMinHeightValue")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetMinHeightValue(
HeightFieldShapeSettings self,
float value
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetMaxHeightValue()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetMaxHeightValue")]
[SuppressGCTransition]
public static partial float HeightFieldShapeSettings_GetMaxHeightValue(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetMaxHeightValue(float)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetMaxHeightValue")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetMaxHeightValue(
HeightFieldShapeSettings self,
float value
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetMaterialsCapacity()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetMaterialsCapacity")]
[SuppressGCTransition]
public static partial uint HeightFieldShapeSettings_GetMaterialsCapacity(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetMaterialsCapacity(uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetMaterialsCapacity")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetMaterialsCapacity(
HeightFieldShapeSettings self,
uint value
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetBlockSize()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetBlockSize")]
[SuppressGCTransition]
public static partial uint HeightFieldShapeSettings_GetBlockSize(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetBlockSize(uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetBlockSize")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetBlockSize(HeightFieldShapeSettings self, uint value);
/// <inheritdoc cref="HeightFieldShapeSettings.GetBitsPerSample()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetBitsPerSample")]
[SuppressGCTransition]
public static partial uint HeightFieldShapeSettings_GetBitsPerSample(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetBitsPerSample(uint)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetBitsPerSample")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetBitsPerSample(
HeightFieldShapeSettings self,
uint value
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetHeightSamples()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetHeightSamples")]
public static partial void HeightFieldShapeSettings_GetHeightSamples(
HeightFieldShapeSettings self,
out NativeSpanView outResult
);
/// <inheritdoc cref="HeightFieldShapeSettings.SetHeightSamples(ReadOnlySpan{float})"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetHeightSamples")]
public static partial void HeightFieldShapeSettings_SetHeightSamples(
HeightFieldShapeSettings self,
float* value,
nuint valueCount
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetMaterialIndices()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetMaterialIndices")]
public static partial void HeightFieldShapeSettings_GetMaterialIndices(
HeightFieldShapeSettings self,
out NativeSpanView outResult
);
/// <inheritdoc cref="HeightFieldShapeSettings.SetMaterialIndices(ReadOnlySpan{byte})"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetMaterialIndices")]
public static partial void HeightFieldShapeSettings_SetMaterialIndices(
HeightFieldShapeSettings self,
byte* value,
nuint valueCount
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetMaterials()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetMaterials")]
public static partial nint HeightFieldShapeSettings_GetMaterials(HeightFieldShapeSettings self);
/// <inheritdoc cref="HeightFieldShapeSettings.SetMaterials(ReadOnlySpan{PhysicsMaterial})"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetMaterials")]
public static partial void HeightFieldShapeSettings_SetMaterials(
HeightFieldShapeSettings self,
PhysicsMaterial* value,
nuint valueCount
);
/// <inheritdoc cref="HeightFieldShapeSettings.GetActiveEdgeCosThresholdAngle()"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_GetActiveEdgeCosThresholdAngle")]
[SuppressGCTransition]
public static partial float HeightFieldShapeSettings_GetActiveEdgeCosThresholdAngle(
HeightFieldShapeSettings self
);
/// <inheritdoc cref="HeightFieldShapeSettings.SetActiveEdgeCosThresholdAngle(float)"/>
[LibraryImport("jolt", EntryPoint = "HeightFieldShapeSettings_SetActiveEdgeCosThresholdAngle")]
[SuppressGCTransition]
public static partial void HeightFieldShapeSettings_SetActiveEdgeCosThresholdAngle(
HeightFieldShapeSettings self,
float value
);
}
}
}