//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
namespace Brutal.JoltApi
{
///
///
/// The Shape objects read back so far, by id, for sRestoreWithChildren: pass the same map to every restore from
/// one stream, so a shared object comes back as one object. It holds a reference to each, which Dispose
/// releases.
///
///
[InteropHandle]
public readonly partial struct IDToShapeMap : IDisposable
{
///
///
/// An empty map; Dispose it when the stream is done.
///
///
public static IDToShapeMap Create() => Jolt.PInvoke.IDToShapeMapCreate();
///
///
/// How many objects the map holds.
///
///
public uint GetCount() => Jolt.PInvoke.IDToShapeMapGetCount(this);
public void Dispose() => Jolt.PInvoke.IDToShapeMapDestroy(this);
}
}