mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,52 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/ObjectStream/SerializableObject.h#L155">Jolt/ObjectStream/SerializableObject.h:155</see>
|
||||
/// <br/>
|
||||
/// <c>class SerializableObject</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Classes must be derived from SerializableObject if you want to be able to save pointers or
|
||||
/// reference counting pointers to objects of this or derived classes. The type will automatically
|
||||
/// be determined during serialization and upon deserialization it will be restored correctly.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct SerializableObject : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/ObjectStream/SerializableObject.h#L157">Jolt/ObjectStream/SerializableObject.h:157</see>
|
||||
/// <br/>
|
||||
/// <c>JPH_DECLARE_SERIALIZABLE_ABSTRACT_BASE(, SerializableObject)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public RTTI GetRTTI() => Jolt.PInvoke.SerializableObject_GetRTTI(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/ObjectStream/SerializableObject.h#L157">Jolt/ObjectStream/SerializableObject.h:157</see>
|
||||
/// <br/>
|
||||
/// <c>JPH_DECLARE_SERIALIZABLE_ABSTRACT_BASE(, SerializableObject)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.SerializableObject_CastTo(this, rTTI);
|
||||
public void Dispose() => Jolt.PInvoke.SerializableObject_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue