//
// 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
{
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:16
///
/// StateRecorderImpl() = default
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Create")]
public static partial StateRecorderImpl StateRecorderImpl_Create();
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Destroy")]
public static partial void StateRecorderImpl_Destroy(StateRecorderImpl self);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:20
///
/// virtual void WriteBytes(const void *inData, size_t inNumBytes) override
///
///
///
///
/// Write a string of bytes to the binary stream
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_WriteBytes")]
public static partial void StateRecorderImpl_WriteBytes(StateRecorderImpl self, void* data, nuint numBytes);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:23
///
/// void Rewind()
///
///
///
///
/// Rewind the stream for reading
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Rewind")]
public static partial void StateRecorderImpl_Rewind(StateRecorderImpl self);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:26
///
/// void Clear()
///
///
///
///
/// Clear the stream for reuse
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Clear")]
public static partial void StateRecorderImpl_Clear(StateRecorderImpl self);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:29
///
/// virtual void ReadBytes(void *outData, size_t inNumBytes) override
///
///
///
///
/// Read a string of bytes from the binary stream
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_ReadBytes")]
public static partial void StateRecorderImpl_ReadBytes(StateRecorderImpl self, void* data, nuint numBytes);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:32
///
/// virtual bool IsEOF() const override
///
///
///
///
/// See StreamIn
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_IsEOF")]
public static partial Brutal.Bool8 StateRecorderImpl_IsEOF(StateRecorderImpl self);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:35
///
/// virtual bool IsFailed() const override
///
///
///
///
/// See StreamIn / StreamOut
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_IsFailed")]
public static partial Brutal.Bool8 StateRecorderImpl_IsFailed(StateRecorderImpl self);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:38
///
/// bool IsEqual(StateRecorderImpl &inReference)
///
///
///
///
/// Compare this state with a reference state and ensure they are the same
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_IsEqual")]
public static partial Brutal.Bool8 StateRecorderImpl_IsEqual(StateRecorderImpl self, StateRecorderImpl reference);
///
///
/// C++:
/// Jolt/Physics/StateRecorderImpl.h:44
///
/// size_t GetDataSize()
///
///
///
///
/// Get size of the binary data in bytes
///
///
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_GetDataSize")]
public static partial nuint StateRecorderImpl_GetDataSize(StateRecorderImpl self);
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_AsStateRecorder")]
public static partial StateRecorder StateRecorderImpl_AsStateRecorder(StateRecorderImpl self);
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_AsStreamIn")]
public static partial StreamIn StateRecorderImpl_AsStreamIn(StateRecorderImpl self);
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_AsStreamOut")]
public static partial StreamOut StateRecorderImpl_AsStreamOut(StateRecorderImpl self);
}
}
}