mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
34 lines
1.3 KiB
C#
34 lines
1.3 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "ByteBuffer_Create")]
|
|
public static partial ByteBuffer ByteBuffer_Create();
|
|
[LibraryImport("jolt", EntryPoint = "ByteBuffer_Destroy")]
|
|
public static partial void ByteBuffer_Destroy(ByteBuffer self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/ByteBuffer.h#L19">Jolt/Core/ByteBuffer.h:19</see>
|
|
/// <br/>
|
|
/// <c>size_t Align(size_t inSize)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Align the size to a multiple of inSize, returns the length after alignment
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ByteBuffer_Align")]
|
|
public static partial nuint ByteBuffer_Align(ByteBuffer self, nuint size);
|
|
}
|
|
}
|
|
}
|