mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
76
brutal.jolt/Brutal.Jolt/Generated/PInvoke/StreamIn.gen.cs
Normal file
76
brutal.jolt/Brutal.Jolt/Generated/PInvoke/StreamIn.gen.cs
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
// <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/StreamIn.h#L19">Jolt/Core/StreamIn.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void ReadBytes(void *outData, size_t inNumBytes) = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Read a string of bytes from the binary stream
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "StreamIn_ReadBytes")]
|
||||
public static partial void StreamIn_ReadBytes(StreamIn self, void* data, nuint numBytes);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamIn.h#L23">Jolt/Core/StreamIn.h:23</see>
|
||||
/// <br/>
|
||||
/// <c>virtual bool IsEOF() const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Returns true when an attempt has been made to read past the end of the file.
|
||||
/// Note that this follows the convention of std::basic_ios::eof which only returns true when an attempt is made to read past the end, not when the read pointer is at the end.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "StreamIn_IsEOF")]
|
||||
public static partial Brutal.Bool8 StreamIn_IsEOF(StreamIn self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamIn.h#L26">Jolt/Core/StreamIn.h:26</see>
|
||||
/// <br/>
|
||||
/// <c>virtual bool IsFailed() const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns true if there was an IO failure
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "StreamIn_IsFailed")]
|
||||
public static partial Brutal.Bool8 StreamIn_IsFailed(StreamIn self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamIn.h#L92">Jolt/Core/StreamIn.h:92</see>
|
||||
/// <br/>
|
||||
/// <c>void Read(Vec3 &outVec)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Read a Vec3 (don't read W)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "StreamIn_Read")]
|
||||
public static partial void StreamIn_Read(StreamIn self, out float3 vec);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue