//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
namespace Brutal.JoltApi
{
///
///
/// The PhysicsMaterial 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.
///
///
[InteropHandle]
public readonly partial struct MaterialToIDMap : IDisposable
{
///
///
/// An empty map; Dispose it when the stream is done.
///
///
public static MaterialToIDMap Create() => Jolt.PInvoke.MaterialToIDMapCreate();
///
///
/// How many objects the map holds.
///
///
public uint GetCount() => Jolt.PInvoke.MaterialToIDMapGetCount(this);
public void Dispose() => Jolt.PInvoke.MaterialToIDMapDestroy(this);
}
}