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

80 lines
3.6 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
{
[LibraryImport("jolt", EntryPoint = "QuadTree_Create")]
public static partial QuadTree QuadTree_Create();
[LibraryImport("jolt", EntryPoint = "QuadTree_Destroy")]
public static partial void QuadTree_Destroy(QuadTree self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BroadPhase/QuadTree.h#L181">Jolt/Physics/Collision/BroadPhase/QuadTree.h:181</see>
/// <br/>
/// <c>inline bool HasBodies() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if there is anything in the tree
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "QuadTree_HasBodies")]
public static partial Brutal.Bool8 QuadTree_HasBodies(QuadTree self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BroadPhase/QuadTree.h#L184">Jolt/Physics/Collision/BroadPhase/QuadTree.h:184</see>
/// <br/>
/// <c>inline bool IsDirty() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if the tree needs an UpdatePrepare/Finalize()
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "QuadTree_IsDirty")]
public static partial Brutal.Bool8 QuadTree_IsDirty(QuadTree self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BroadPhase/QuadTree.h#L187">Jolt/Physics/Collision/BroadPhase/QuadTree.h:187</see>
/// <br/>
/// <c>inline bool CanBeUpdated() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if this tree can get an UpdatePrepare/Finalize() or if it needs a DiscardOldTree() first
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "QuadTree_CanBeUpdated")]
public static partial Brutal.Bool8 QuadTree_CanBeUpdated(QuadTree self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BroadPhase/QuadTree.h#L198">Jolt/Physics/Collision/BroadPhase/QuadTree.h:198</see>
/// <br/>
/// <c>void DiscardOldTree()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Will throw away the previous frame's nodes so that we can start building a new tree in the
/// background
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "QuadTree_DiscardOldTree")]
public static partial void QuadTree_DiscardOldTree(QuadTree self);
}
}
}