mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
65 lines
2.9 KiB
C#
65 lines
2.9 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
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
/// <inheritdoc cref="ShapeSettings.GetRTTI()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_GetRTTI")]
|
|
public static partial RTTI ShapeSettings_GetRTTI(ShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ShapeSettings.CastTo(RTTI)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_CastTo")]
|
|
public static partial void* ShapeSettings_CastTo(ShapeSettings self, RTTI rtti);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Create a shape according to the settings specified by this object.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/Shape/Shape.h#L153">Jolt/Physics/Collision/Shape/Shape.h:153</see>
|
|
/// <br/>
|
|
/// <c>virtual ShapeResult Create() const = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_CreateShape")]
|
|
public static partial Shape ShapeSettings_CreateShape(ShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ShapeSettings.ClearCachedResult()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_ClearCachedResult")]
|
|
public static partial void ShapeSettings_ClearCachedResult(ShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ShapeSettings.GetUserData()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_GetUserData")]
|
|
[SuppressGCTransition]
|
|
public static partial ulong ShapeSettings_GetUserData(ShapeSettings self);
|
|
|
|
/// <inheritdoc cref="ShapeSettings.SetUserData(ulong)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_SetUserData")]
|
|
[SuppressGCTransition]
|
|
public static partial void ShapeSettings_SetUserData(ShapeSettings self, ulong value);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_AddRef")]
|
|
public static partial void ShapeSettings_AddRef(ShapeSettings self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_Release")]
|
|
public static partial void ShapeSettings_Release(ShapeSettings self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "ShapeSettings_GetRefCount")]
|
|
public static partial uint ShapeSettings_GetRefCount(ShapeSettings self);
|
|
}
|
|
}
|
|
}
|