mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +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,57 @@
|
|||
// <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/SubShapeID.h#L107">Jolt/Physics/Collision/Shape/SubShapeID.h:107</see>
|
||||
/// <br/>
|
||||
/// <c>class SubShapeIDCreator</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// A sub shape id creator can be used to create a new sub shape id by recursing through the shape
|
||||
/// hierarchy and pushing new ID's onto the chain
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct SubShapeIDCreator : IDisposable
|
||||
{
|
||||
public static SubShapeIDCreator Create() => Jolt.PInvoke.SubShapeIDCreator_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeID.h#L122">Jolt/Physics/Collision/Shape/SubShapeID.h:122</see>
|
||||
/// <br/>
|
||||
/// <c>const SubShapeID & GetID() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the resulting sub shape ID
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public uint GetID() => Jolt.PInvoke.SubShapeIDCreator_GetID(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/SubShapeID.h#L128">Jolt/Physics/Collision/Shape/SubShapeID.h:128</see>
|
||||
/// <br/>
|
||||
/// <c>inline uint GetNumBitsWritten() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the number of bits that have been written to the sub shape ID so far
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public uint GetNumBitsWritten() => Jolt.PInvoke.SubShapeIDCreator_GetNumBitsWritten(this);
|
||||
public void Dispose() => Jolt.PInvoke.SubShapeIDCreator_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue