brutal/brutal.jolt/Brutal.Jolt/Generated/Classes/ShapeFunctions.gen.cs
2026-10-15 14:12:02 +13:00

45 lines
1.7 KiB
C#

// <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/Shape/Shape.h#L168">Jolt/Physics/Collision/Shape/Shape.h:168</see>
/// <br/>
/// <c>class ShapeFunctions</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Function table for functions on shapes
/// </para>
/// </remarks>
[InteropHandle]
public readonly partial struct ShapeFunctions : IDisposable
{
public static ShapeFunctions Create() => Jolt.PInvoke.ShapeFunctions_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L178">Jolt/Physics/Collision/Shape/Shape.h:178</see>
/// <br/>
/// <c>static inline ShapeFunctions &amp; sGet(EShapeSubType inSubType)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get an entry in the registry for a particular sub type
/// </para>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
public static ShapeFunctions sGet(EShapeSubType subType) => Jolt.PInvoke.ShapeFunctions_sGet(subType);
public void Dispose() => Jolt.PInvoke.ShapeFunctions_Destroy(this);
}
}