//
// 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 = "Skeleton_Create")]
public static partial Skeleton Skeleton_Create();
///
///
/// C++:
/// Jolt/Skeleton/Skeleton.h:44
///
/// int GetJointCount() const
///
///
[LibraryImport("jolt", EntryPoint = "Skeleton_GetJointCount")]
public static partial int Skeleton_GetJointCount(Skeleton self);
///
///
/// C++:
/// Jolt/Skeleton/Skeleton.h:55
///
/// void CalculateParentJointIndices()
///
///
///
///
/// Fill in parent joint indices based on name
///
///
[LibraryImport("jolt", EntryPoint = "Skeleton_CalculateParentJointIndices")]
public static partial void Skeleton_CalculateParentJointIndices(Skeleton self);
///
///
/// C++:
/// Jolt/Skeleton/Skeleton.h:59
///
/// bool AreJointsCorrectlyOrdered() const
///
///
///
///
/// Many of the algorithms that use the Skeleton class require that parent joints are in the mJoints array before their children.
/// This function returns true if this is the case, false if not.
///
///
[LibraryImport("jolt", EntryPoint = "Skeleton_AreJointsCorrectlyOrdered")]
public static partial Brutal.Bool8 Skeleton_AreJointsCorrectlyOrdered(Skeleton self);
///
///
/// C++:
/// Jolt/Skeleton/Skeleton.h:62
///
/// void SaveBinaryState(StreamOut &inStream) const
///
///
///
///
/// Saves the state of this object in binary form to inStream.
///
///
[LibraryImport("jolt", EntryPoint = "Skeleton_SaveBinaryState")]
public static partial void Skeleton_SaveBinaryState(Skeleton self, StreamOut stream);
///
///
/// C++:
/// Jolt/Skeleton/Skeleton.h:65
///
/// static SkeletonResult sRestoreFromBinaryState(StreamIn &inStream)
///
///
///
///
/// Restore the state of this object from inStream.
///
///
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
///
///
[LibraryImport("jolt", EntryPoint = "Skeleton_sRestoreFromBinaryState")]
public static partial Skeleton Skeleton_sRestoreFromBinaryState(StreamIn stream);
[LibraryImport("jolt", EntryPoint = "Skeleton_AddRef")]
public static partial void Skeleton_AddRef(Skeleton self);
[LibraryImport("jolt", EntryPoint = "Skeleton_Release")]
public static partial void Skeleton_Release(Skeleton self);
[LibraryImport("jolt", EntryPoint = "Skeleton_GetRefCount")]
public static partial uint Skeleton_GetRefCount(Skeleton self);
}
}
}