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

110 lines
5.4 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L148">Jolt/Physics/Collision/Shape/Shape.h:148</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The returned handle is borrowed from its owner; don't Dispose it.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeSettings_GetRTTI")]
public static partial RTTI ShapeSettings_GetRTTI(ShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L148">Jolt/Physics/Collision/Shape/Shape.h:148</see>
/// <br/>
/// <c></c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "ShapeSettings_CastTo")]
public static partial void* ShapeSettings_CastTo(ShapeSettings self, RTTI rTTI);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L154">Jolt/Physics/Collision/Shape/Shape.h:154</see>
/// <br/>
/// <c>virtual ShapeResult Create() const = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Create a shape according to the settings specified by this object.
/// </para>
/// <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);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L158">Jolt/Physics/Collision/Shape/Shape.h:158</see>
/// <br/>
/// <c>void ClearCachedResult()</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// When creating a shape, the result is cached so that calling Create() again will return the same shape.
/// If you make changes to the ShapeSettings you need to call this function to clear the cached result to allow Create() to build a new shape.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeSettings_ClearCachedResult")]
public static partial void ShapeSettings_ClearCachedResult(ShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L161">Jolt/Physics/Collision/Shape/Shape.h:161</see>
/// <br/>
/// <c>uint64 mUserData = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// User data (to be used freely by the application)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeSettings_GetUserData")]
public static partial ulong ShapeSettings_GetUserData(ShapeSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/Shape.h#L161">Jolt/Physics/Collision/Shape/Shape.h:161</see>
/// <br/>
/// <c>uint64 mUserData = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// User data (to be used freely by the application)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "ShapeSettings_SetUserData")]
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);
}
}
}