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

45 lines
2 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/BroadPhase/BroadPhaseLayer.h#L67">Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h:67</see>
/// <br/>
/// <c>virtual uint GetNumBroadPhaseLayers() const = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Return the number of broadphase layers there are
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "BroadPhaseLayerInterface_GetNumBroadPhaseLayers")]
public static partial uint BroadPhaseLayerInterface_GetNumBroadPhaseLayers(BroadPhaseLayerInterface self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h#L70">Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h:70</see>
/// <br/>
/// <c>virtual BroadPhaseLayer GetBroadPhaseLayer(ObjectLayer inLayer) const = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Convert an object layer to the corresponding broadphase layer
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "BroadPhaseLayerInterface_GetBroadPhaseLayer")]
public static partial byte BroadPhaseLayerInterface_GetBroadPhaseLayer(BroadPhaseLayerInterface self, ushort layer);
}
}
}