// // 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); /// /// /// C++: /// Jolt/Physics/Collision/BroadPhase/QuadTree.h:181 ///
/// inline bool HasBodies() const ///
///
/// /// /// Check if there is anything in the tree /// /// [LibraryImport("jolt", EntryPoint = "QuadTree_HasBodies")] public static partial Brutal.Bool8 QuadTree_HasBodies(QuadTree self); /// /// /// C++: /// Jolt/Physics/Collision/BroadPhase/QuadTree.h:184 ///
/// inline bool IsDirty() const ///
///
/// /// /// Check if the tree needs an UpdatePrepare/Finalize() /// /// [LibraryImport("jolt", EntryPoint = "QuadTree_IsDirty")] public static partial Brutal.Bool8 QuadTree_IsDirty(QuadTree self); /// /// /// C++: /// Jolt/Physics/Collision/BroadPhase/QuadTree.h:187 ///
/// inline bool CanBeUpdated() const ///
///
/// /// /// Check if this tree can get an UpdatePrepare/Finalize() or if it needs a DiscardOldTree() first /// /// [LibraryImport("jolt", EntryPoint = "QuadTree_CanBeUpdated")] public static partial Brutal.Bool8 QuadTree_CanBeUpdated(QuadTree self); /// /// /// C++: /// Jolt/Physics/Collision/BroadPhase/QuadTree.h:198 ///
/// void DiscardOldTree() ///
///
/// /// /// Will throw away the previous frame's nodes so that we can start building a new tree in the /// background /// /// [LibraryImport("jolt", EntryPoint = "QuadTree_DiscardOldTree")] public static partial void QuadTree_DiscardOldTree(QuadTree self); } } }