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
|
|
@ -0,0 +1,55 @@
|
|||
// <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/StreamWrapper.h#L17">Jolt/Core/StreamWrapper.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>class StreamOutWrapper : public StreamOut</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Wrapper around std::ostream
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct StreamOutWrapper
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L24">Jolt/Core/StreamWrapper.h:24</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>
|
||||
public unsafe void WriteBytes(Ptr data, nuint numBytes) => Jolt.PInvoke.StreamOutWrapper_WriteBytes(this, data, numBytes);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/StreamWrapper.h#L27">Jolt/Core/StreamWrapper.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>virtual bool IsFailed() const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns true if there was an IO failure
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public bool IsFailed() => Jolt.PInvoke.StreamOutWrapper_IsFailed(this);
|
||||
public static implicit operator StreamOut(StreamOutWrapper value) => Jolt.PInvoke.StreamOutWrapper_AsStreamOut(value);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue