//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
///
///
/// C++:
/// Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h:60
///
/// class BroadPhaseLayerInterface : public NonCopyable
///
///
///
///
/// Interface that the application should implement to allow mapping object layers to broadphase layers
///
///
[InteropHandle]
public readonly partial struct BroadPhaseLayerInterface
{
///
///
/// C++:
/// Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h:67
///
/// virtual uint GetNumBroadPhaseLayers() const = 0
///
///
///
///
/// Return the number of broadphase layers there are
///
///
public uint GetNumBroadPhaseLayers() => Jolt.PInvoke.BroadPhaseLayerInterface_GetNumBroadPhaseLayers(this);
///
///
/// C++:
/// Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h:70
///
/// virtual BroadPhaseLayer GetBroadPhaseLayer(ObjectLayer inLayer) const = 0
///
///
///
///
/// Convert an object layer to the corresponding broadphase layer
///
///
public byte GetBroadPhaseLayer(ushort layer) => Jolt.PInvoke.BroadPhaseLayerInterface_GetBroadPhaseLayer(this, layer);
}
}