mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
35 lines
1.1 KiB
C#
35 lines
1.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 PhysicsMaterial 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.
|
|
/// </para>
|
|
/// </summary>
|
|
[InteropHandle]
|
|
public readonly partial struct IDToMaterialMap : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// An empty map; Dispose it when the stream is done.
|
|
/// </para>
|
|
/// </summary>
|
|
public static IDToMaterialMap Create() => Jolt.PInvoke.IDToMaterialMapCreate();
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// How many objects the map holds.
|
|
/// </para>
|
|
/// </summary>
|
|
public uint GetCount() => Jolt.PInvoke.IDToMaterialMapGetCount(this);
|
|
|
|
public void Dispose() => Jolt.PInvoke.IDToMaterialMapDestroy(this);
|
|
}
|
|
}
|