mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
34 lines
1 KiB
C#
34 lines
1 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// The Shape objects written so far and the ids they were given, for SaveWithChildren: pass the same map to
|
|
/// every save into one stream, so an object several of them share is written once.
|
|
/// </para>
|
|
/// </summary>
|
|
[InteropHandle]
|
|
public readonly partial struct ShapeToIDMap : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// An empty map; Dispose it when the stream is done.
|
|
/// </para>
|
|
/// </summary>
|
|
public static ShapeToIDMap Create() => Jolt.PInvoke.ShapeToIDMapCreate();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// How many objects the map holds.
|
|
/// </para>
|
|
/// </summary>
|
|
public uint GetCount() => Jolt.PInvoke.ShapeToIDMapGetCount(this);
|
|
|
|
public void Dispose() => Jolt.PInvoke.ShapeToIDMapDestroy(this);
|
|
}
|
|
}
|