mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 13:38:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
68
brutal.jolt/Brutal.Jolt/Generated/Classes/StreamOut.gen.cs
Normal file
68
brutal.jolt/Brutal.Jolt/Generated/Classes/StreamOut.gen.cs
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamOut.h#L12">Jolt/Core/StreamOut.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>class StreamOut : public NonCopyable</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Simple binary output stream
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct StreamOut
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamOut.h#L19">Jolt/Core/StreamOut.h:19</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void WriteBytes(const void *inData, size_t inNumBytes) = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Write a string of bytes to the binary stream
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe void WriteBytes(Ptr data, ByteSize numBytes) => Jolt.PInvoke.StreamOut_WriteBytes(this, data, (nuint)numBytes);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamOut.h#L22">Jolt/Core/StreamOut.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>virtual bool IsFailed() const = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns true if there was an IO failure
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public bool IsFailed() => Jolt.PInvoke.StreamOut_IsFailed(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamOut.h#L75">Jolt/Core/StreamOut.h:75</see>
|
||||
/// <br/>
|
||||
/// <c>void Write(const Vec3 &inVec)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Write a Vec3 (don't write W)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void Write(float3 vec) => Jolt.PInvoke.StreamOut_Write(this, vec);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue