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

92 lines
4.3 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 = "SkeletonPose_Create")]
public static partial SkeletonPose SkeletonPose_Create();
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Destroy")]
public static partial void SkeletonPose_Destroy(SkeletonPose self);
/// <inheritdoc cref="SkeletonPose.SetSkeleton(Skeleton)"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetSkeleton")]
public static partial void SkeletonPose_SetSkeleton(SkeletonPose self, Skeleton skeleton);
/// <inheritdoc cref="SkeletonPose.GetSkeleton()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetSkeleton")]
public static partial Skeleton SkeletonPose_GetSkeleton(SkeletonPose self);
/// <inheritdoc cref="SkeletonPose.SetRootOffset(float3)"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetRootOffset")]
public static partial void SkeletonPose_SetRootOffset(SkeletonPose self, float3 offset);
/// <inheritdoc cref="SkeletonPose.GetRootOffset()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetRootOffset")]
public static partial float3 SkeletonPose_GetRootOffset(SkeletonPose self);
/// <inheritdoc cref="SkeletonPose.GetJointCount()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointCount")]
public static partial uint SkeletonPose_GetJointCount(SkeletonPose self);
/// <inheritdoc cref="SkeletonPose.GetJoints()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJoints")]
public static partial void SkeletonPose_GetJoints(SkeletonPose self, out NativeSpanView outResult);
/// <inheritdoc cref="SkeletonPose.SetJoint(int, in SkeletalAnimation.JointState)"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetJoint")]
public static partial void SkeletonPose_SetJoint(
SkeletonPose self,
int joint,
in SkeletalAnimation.JointState value,
out uint outInRange
);
/// <inheritdoc cref="SkeletonPose.GetJointMatrices()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointMatrices")]
public static partial void SkeletonPose_GetJointMatrices(SkeletonPose self, out NativeSpanView outResult);
/// <inheritdoc cref="SkeletonPose.GetJointMatrix(int)"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointMatrix")]
public static partial float4x4 SkeletonPose_GetJointMatrix(
SkeletonPose self,
int joint,
out uint outInRange
);
/// <inheritdoc cref="SkeletonPose.CalculateJointMatrices()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointMatrices")]
public static partial void SkeletonPose_CalculateJointMatrices(SkeletonPose self);
/// <inheritdoc cref="SkeletonPose.CalculateJointStates()"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointStates")]
public static partial void SkeletonPose_CalculateJointStates(SkeletonPose self);
/// <inheritdoc cref="SkeletonPose.CalculateLocalSpaceJointMatrices(Span{float4x4})"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateLocalSpaceJointMatrices")]
public static partial void SkeletonPose_CalculateLocalSpaceJointMatrices(
SkeletonPose self,
float4x4* matrices,
uint matricesCount,
out uint outBufferCheck
);
/// <inheritdoc cref="SkeletonPose.Draw(in SkeletonPose.DrawSettings, DebugRenderer, in float4x4)"/>
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Draw")]
public static partial void SkeletonPose_Draw(
SkeletonPose self,
in SkeletonPose.DrawSettings drawSettings,
DebugRenderer renderer,
in float4x4 offset
);
}
}
}