mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
60 lines
2.4 KiB
C#
60 lines
2.4 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/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>
|
|
[LibraryImport("jolt", EntryPoint = "StreamOut_WriteBytes")]
|
|
public static partial void StreamOut_WriteBytes(StreamOut self, void* 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>
|
|
[LibraryImport("jolt", EntryPoint = "StreamOut_IsFailed")]
|
|
public static partial Brutal.Bool8 StreamOut_IsFailed(StreamOut self);
|
|
/// <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>
|
|
[LibraryImport("jolt", EntryPoint = "StreamOut_Write")]
|
|
public static partial void StreamOut_Write(StreamOut self, float3 vec);
|
|
}
|
|
}
|
|
}
|