SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d

View file

@ -0,0 +1,62 @@
// <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/Core/StreamWrapper.h#L41">Jolt/Core/StreamWrapper.h:41</see>
/// <br/>
/// <c>virtual void ReadBytes(void *outData, size_t inNumBytes) override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Write a string of bytes to the binary stream
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StreamInWrapper_ReadBytes")]
public static partial void StreamInWrapper_ReadBytes(StreamInWrapper self, void* data, nuint numBytes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L44">Jolt/Core/StreamWrapper.h:44</see>
/// <br/>
/// <c>virtual bool IsEOF() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Returns true when an attempt has been made to read past the end of the file
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StreamInWrapper_IsEOF")]
public static partial Brutal.Bool8 StreamInWrapper_IsEOF(StreamInWrapper self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L47">Jolt/Core/StreamWrapper.h:47</see>
/// <br/>
/// <c>virtual bool IsFailed() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Returns true if there was an IO failure
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "StreamInWrapper_IsFailed")]
public static partial Brutal.Bool8 StreamInWrapper_IsFailed(StreamInWrapper self);
[LibraryImport("jolt", EntryPoint = "StreamInWrapper_AsStreamIn")]
public static partial StreamIn StreamInWrapper_AsStreamIn(StreamInWrapper self);
}
}
}