mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
357 lines
19 KiB
C#
357 lines
19 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_Create")]
|
|
public static partial SoftBodyMotionProperties SoftBodyMotionProperties_Create();
|
|
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_Destroy")]
|
|
public static partial void SoftBodyMotionProperties_Destroy(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.Initialize(SoftBodyCreationSettings)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_Initialize")]
|
|
public static partial void SoftBodyMotionProperties_Initialize(
|
|
SoftBodyMotionProperties self,
|
|
SoftBodyCreationSettings settings
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetSettings")]
|
|
public static partial SoftBodySharedSettings SoftBodyMotionProperties_GetSettings(
|
|
SoftBodyMotionProperties self
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetVertices()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetVertices")]
|
|
public static partial void SoftBodyMotionProperties_GetVertices(
|
|
SoftBodyMotionProperties self,
|
|
out NativeSpanView outResult
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetVertex(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetVertex")]
|
|
public static partial SoftBodyVertex SoftBodyMotionProperties_GetVertex(
|
|
SoftBodyMotionProperties self,
|
|
uint index,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetVertex(uint, in SoftBodyVertex)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetVertex")]
|
|
public static partial void SoftBodyMotionProperties_SetVertex(
|
|
SoftBodyMotionProperties self,
|
|
uint index,
|
|
in SoftBodyVertex value,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetVertices(ReadOnlySpan{SoftBodyVertex}, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetVertices")]
|
|
public static partial void SoftBodyMotionProperties_SetVertices(
|
|
SoftBodyMotionProperties self,
|
|
SoftBodyVertex* value,
|
|
nuint valueCount,
|
|
uint startIndex,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetRodRotation(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetRodRotation")]
|
|
public static partial floatQuat SoftBodyMotionProperties_GetRodRotation(
|
|
SoftBodyMotionProperties self,
|
|
uint index,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetRodAngularVelocity(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetRodAngularVelocity")]
|
|
public static partial float3 SoftBodyMotionProperties_GetRodAngularVelocity(
|
|
SoftBodyMotionProperties self,
|
|
uint index,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetMaterials()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetMaterials")]
|
|
public static partial nint SoftBodyMotionProperties_GetMaterials(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetFaces()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetFaces")]
|
|
public static partial void SoftBodyMotionProperties_GetFaces(
|
|
SoftBodyMotionProperties self,
|
|
out NativeSpanView outResult
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetFace(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetFace")]
|
|
public static partial void SoftBodyMotionProperties_GetFace(
|
|
SoftBodyMotionProperties self,
|
|
uint index,
|
|
out uint outInRange,
|
|
out SoftBodySharedSettings.Face outResult
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetNumIterations()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetNumIterations")]
|
|
public static partial uint SoftBodyMotionProperties_GetNumIterations(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetNumIterations(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetNumIterations")]
|
|
public static partial void SoftBodyMotionProperties_SetNumIterations(
|
|
SoftBodyMotionProperties self,
|
|
uint numIterations
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetPressure()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetPressure")]
|
|
public static partial float SoftBodyMotionProperties_GetPressure(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetPressure(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetPressure")]
|
|
public static partial void SoftBodyMotionProperties_SetPressure(
|
|
SoftBodyMotionProperties self,
|
|
float pressure
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetUpdatePosition()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetUpdatePosition")]
|
|
public static partial Brutal.Bool8 SoftBodyMotionProperties_GetUpdatePosition(
|
|
SoftBodyMotionProperties self
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetUpdatePosition(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetUpdatePosition")]
|
|
public static partial void SoftBodyMotionProperties_SetUpdatePosition(
|
|
SoftBodyMotionProperties self,
|
|
Brutal.Bool8 updatePosition
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetFacesDoubleSided()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetFacesDoubleSided")]
|
|
public static partial Brutal.Bool8 SoftBodyMotionProperties_GetFacesDoubleSided(
|
|
SoftBodyMotionProperties self
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetFacesDoubleSided(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetFacesDoubleSided")]
|
|
public static partial void SoftBodyMotionProperties_SetFacesDoubleSided(
|
|
SoftBodyMotionProperties self,
|
|
Brutal.Bool8 doubleSided
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetEnableSkinConstraints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetEnableSkinConstraints")]
|
|
public static partial Brutal.Bool8 SoftBodyMotionProperties_GetEnableSkinConstraints(
|
|
SoftBodyMotionProperties self
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetEnableSkinConstraints(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetEnableSkinConstraints")]
|
|
public static partial void SoftBodyMotionProperties_SetEnableSkinConstraints(
|
|
SoftBodyMotionProperties self,
|
|
Brutal.Bool8 enableSkinConstraints
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetSkinnedMaxDistanceMultiplier()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetSkinnedMaxDistanceMultiplier")]
|
|
public static partial float SoftBodyMotionProperties_GetSkinnedMaxDistanceMultiplier(
|
|
SoftBodyMotionProperties self
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetSkinnedMaxDistanceMultiplier(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetSkinnedMaxDistanceMultiplier")]
|
|
public static partial void SoftBodyMotionProperties_SetSkinnedMaxDistanceMultiplier(
|
|
SoftBodyMotionProperties self,
|
|
float skinnedMaxDistanceMultiplier
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetVertexRadius()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetVertexRadius")]
|
|
public static partial float SoftBodyMotionProperties_GetVertexRadius(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SetVertexRadius(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetVertexRadius")]
|
|
public static partial void SoftBodyMotionProperties_SetVertexRadius(
|
|
SoftBodyMotionProperties self,
|
|
float vertexRadius
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetLocalBounds()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetLocalBounds")]
|
|
public static partial AABox SoftBodyMotionProperties_GetLocalBounds(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.GetVolume()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetVolume")]
|
|
public static partial float SoftBodyMotionProperties_GetVolume(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.CalculateMassAndInertia()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_CalculateMassAndInertia")]
|
|
public static partial void SoftBodyMotionProperties_CalculateMassAndInertia(SoftBodyMotionProperties self);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawVertices(DebugRenderer, in float4x4)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawVertices")]
|
|
public static partial void SoftBodyMotionProperties_DrawVertices(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawVertexVelocities(DebugRenderer, in float4x4)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawVertexVelocities")]
|
|
public static partial void SoftBodyMotionProperties_DrawVertexVelocities(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawEdgeConstraints(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawEdgeConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawEdgeConstraints(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawRods(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawRods")]
|
|
public static partial void SoftBodyMotionProperties_DrawRods(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawRodStates(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawRodStates")]
|
|
public static partial void SoftBodyMotionProperties_DrawRodStates(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawRodBendTwistConstraints(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawRodBendTwistConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawRodBendTwistConstraints(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawBendConstraints(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawBendConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawBendConstraints(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawVolumeConstraints(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawVolumeConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawVolumeConstraints(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawSkinConstraints(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawSkinConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawSkinConstraints(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawLRAConstraints(DebugRenderer, in float4x4, SoftBodyConstraintColor)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawLRAConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawLRAConstraints(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
SoftBodyConstraintColor constraintColor
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DrawPredictedBounds(DebugRenderer, in float4x4)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawPredictedBounds")]
|
|
public static partial void SoftBodyMotionProperties_DrawPredictedBounds(
|
|
SoftBodyMotionProperties self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.SkinVertices(in float4x4, ReadOnlySpan{float4x4}, bool, TempAllocator)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SkinVertices")]
|
|
public static partial void SoftBodyMotionProperties_SkinVertices(
|
|
SoftBodyMotionProperties self,
|
|
in float4x4 centerOfMassTransform,
|
|
float4x4* jointMatrices,
|
|
uint jointMatricesCount,
|
|
Brutal.Bool8 hardSkinAll,
|
|
TempAllocator tempAllocator,
|
|
out uint outBufferCheck
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.CustomUpdate(float, Body, PhysicsSystem)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_CustomUpdate")]
|
|
public static partial void SoftBodyMotionProperties_CustomUpdate(
|
|
SoftBodyMotionProperties self,
|
|
float deltaTime,
|
|
Body softBody,
|
|
PhysicsSystem system
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.InitializeUpdateContext(float, Body, PhysicsSystem, SoftBodyUpdateContext)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_InitializeUpdateContext")]
|
|
public static partial void SoftBodyMotionProperties_InitializeUpdateContext(
|
|
SoftBodyMotionProperties self,
|
|
float deltaTime,
|
|
Body softBody,
|
|
PhysicsSystem system,
|
|
SoftBodyUpdateContext context
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.DetermineCollidingShapes(SoftBodyUpdateContext, PhysicsSystem, BodyLockInterface)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DetermineCollidingShapes")]
|
|
public static partial void SoftBodyMotionProperties_DetermineCollidingShapes(
|
|
SoftBodyMotionProperties self,
|
|
SoftBodyUpdateContext context,
|
|
PhysicsSystem system,
|
|
BodyLockInterface bodyLockInterface
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.ParallelUpdate(SoftBodyUpdateContext, in PhysicsSettings)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_ParallelUpdate")]
|
|
public static partial SoftBodyMotionProperties.Status SoftBodyMotionProperties_ParallelUpdate(
|
|
SoftBodyMotionProperties self,
|
|
SoftBodyUpdateContext context,
|
|
in PhysicsSettings physicsSettings
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.UpdateRigidBodyVelocities(SoftBodyUpdateContext, BodyInterface)"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_UpdateRigidBodyVelocities")]
|
|
public static partial void SoftBodyMotionProperties_UpdateRigidBodyVelocities(
|
|
SoftBodyMotionProperties self,
|
|
SoftBodyUpdateContext context,
|
|
BodyInterface bodyInterface
|
|
);
|
|
|
|
/// <inheritdoc cref="SoftBodyMotionProperties.RequestContactCallback()"/>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_RequestContactCallback")]
|
|
public static partial void SoftBodyMotionProperties_RequestContactCallback(SoftBodyMotionProperties self);
|
|
}
|
|
}
|
|
}
|