//
// 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);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetSkeleton")]
public static partial void SkeletonPose_SetSkeleton(SkeletonPose self, Skeleton skeleton);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetSkeleton")]
public static partial Skeleton SkeletonPose_GetSkeleton(SkeletonPose self);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetRootOffset")]
public static partial void SkeletonPose_SetRootOffset(SkeletonPose self, float3 offset);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetRootOffset")]
public static partial float3 SkeletonPose_GetRootOffset(SkeletonPose self);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointCount")]
public static partial uint SkeletonPose_GetJointCount(SkeletonPose self);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJoints")]
public static partial void SkeletonPose_GetJoints(SkeletonPose self, out NativeSpanView outResult);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_SetJoint")]
public static partial void SkeletonPose_SetJoint(
SkeletonPose self,
int joint,
in SkeletalAnimation.JointState value,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointMatrices")]
public static partial void SkeletonPose_GetJointMatrices(SkeletonPose self, out NativeSpanView outResult);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_GetJointMatrix")]
public static partial float4x4 SkeletonPose_GetJointMatrix(
SkeletonPose self,
int joint,
out uint outInRange
);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointMatrices")]
public static partial void SkeletonPose_CalculateJointMatrices(SkeletonPose self);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateJointStates")]
public static partial void SkeletonPose_CalculateJointStates(SkeletonPose self);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_CalculateLocalSpaceJointMatrices")]
public static partial void SkeletonPose_CalculateLocalSpaceJointMatrices(
SkeletonPose self,
float4x4* matrices,
uint matricesCount,
out uint outBufferCheck
);
///
[LibraryImport("jolt", EntryPoint = "SkeletonPose_Draw")]
public static partial void SkeletonPose_Draw(
SkeletonPose self,
in SkeletonPose.DrawSettings drawSettings,
DebugRenderer renderer,
in float4x4 offset
);
}
}
}