brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/StateRecorderImpl.gen.cs
2026-10-15 14:12:02 +13:00

158 lines
7.6 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L16">Jolt/Physics/StateRecorderImpl.h:16</see>
/// <br/>
/// <c>StateRecorderImpl() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Create")]
public static partial StateRecorderImpl StateRecorderImpl_Create();
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Destroy")]
public static partial void StateRecorderImpl_Destroy(StateRecorderImpl self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L20">Jolt/Physics/StateRecorderImpl.h:20</see>
/// <br/>
/// <c>virtual void WriteBytes(const void *inData, size_t inNumBytes) override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Write a string of bytes to the binary stream
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_WriteBytes")]
public static partial void StateRecorderImpl_WriteBytes(StateRecorderImpl self, void* data, nuint numBytes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L23">Jolt/Physics/StateRecorderImpl.h:23</see>
/// <br/>
/// <c>void Rewind()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Rewind the stream for reading
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Rewind")]
public static partial void StateRecorderImpl_Rewind(StateRecorderImpl self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L26">Jolt/Physics/StateRecorderImpl.h:26</see>
/// <br/>
/// <c>void Clear()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Clear the stream for reuse
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_Clear")]
public static partial void StateRecorderImpl_Clear(StateRecorderImpl self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L29">Jolt/Physics/StateRecorderImpl.h:29</see>
/// <br/>
/// <c>virtual void ReadBytes(void *outData, size_t inNumBytes) override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Read a string of bytes from the binary stream
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_ReadBytes")]
public static partial void StateRecorderImpl_ReadBytes(StateRecorderImpl self, void* data, nuint numBytes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L32">Jolt/Physics/StateRecorderImpl.h:32</see>
/// <br/>
/// <c>virtual bool IsEOF() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See StreamIn
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_IsEOF")]
public static partial Brutal.Bool8 StateRecorderImpl_IsEOF(StateRecorderImpl self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L35">Jolt/Physics/StateRecorderImpl.h:35</see>
/// <br/>
/// <c>virtual bool IsFailed() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See StreamIn / StreamOut
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_IsFailed")]
public static partial Brutal.Bool8 StateRecorderImpl_IsFailed(StateRecorderImpl self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L38">Jolt/Physics/StateRecorderImpl.h:38</see>
/// <br/>
/// <c>bool IsEqual(StateRecorderImpl &amp;inReference)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Compare this state with a reference state and ensure they are the same
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StateRecorderImpl_IsEqual")]
public static partial Brutal.Bool8 StateRecorderImpl_IsEqual(StateRecorderImpl self, StateRecorderImpl reference);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/StateRecorderImpl.h#L44">Jolt/Physics/StateRecorderImpl.h:44</see>
/// <br/>
/// <c>size_t GetDataSize()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get size of the binary data in bytes
/// </para>
/// </remarks>
[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);
}
}
}