mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18: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,100 @@
|
|||
// <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/Physics/Collision/PhysicsMaterialSimple.h#L12">Jolt/Physics/Collision/PhysicsMaterialSimple.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>class PhysicsMaterialSimple : public PhysicsMaterial</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Sample implementation of PhysicsMaterial that just holds the needed properties directly
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct PhysicsMaterialSimple : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterialSimple.h#L18">Jolt/Physics/Collision/PhysicsMaterialSimple.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>PhysicsMaterialSimple() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static PhysicsMaterialSimple Create() => Jolt.PInvoke.PhysicsMaterialSimple_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterialSimple.h#L14">Jolt/Physics/Collision/PhysicsMaterialSimple.h:14</see>
|
||||
/// <br/>
|
||||
/// <c></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public RTTI GetRTTI() => Jolt.PInvoke.PhysicsMaterialSimple_GetRTTI(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterialSimple.h#L14">Jolt/Physics/Collision/PhysicsMaterialSimple.h:14</see>
|
||||
/// <br/>
|
||||
/// <c></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe Ptr CastTo(RTTI rTTI) => Jolt.PInvoke.PhysicsMaterialSimple_CastTo(this, rTTI);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterialSimple.h#L22">Jolt/Physics/Collision/PhysicsMaterialSimple.h:22</see>
|
||||
/// <br/>
|
||||
/// <c>virtual const char * GetDebugName() const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Properties
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe RefString8 GetDebugName() => (Ptr<byte>)Jolt.PInvoke.PhysicsMaterialSimple_GetDebugName(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterialSimple.h#L26">Jolt/Physics/Collision/PhysicsMaterialSimple.h:26</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See: PhysicsMaterial::SaveBinaryState
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void SaveBinaryState(StreamOut stream) => Jolt.PInvoke.PhysicsMaterialSimple_SaveBinaryState(this, stream);
|
||||
public void AddRef() => Jolt.PInvoke.PhysicsMaterialSimple_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.PhysicsMaterialSimple_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.PhysicsMaterialSimple_GetRefCount(this);
|
||||
public static implicit operator PhysicsMaterial(PhysicsMaterialSimple value) => Jolt.PInvoke.PhysicsMaterialSimple_AsPhysicsMaterial(value);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue