mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,52 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Interface that the application should implement to allow mapping object layers to broadphase layers
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h#L60">Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>class BroadPhaseLayerInterface : public NonCopyable</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct BroadPhaseLayerInterface
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Return the number of broadphase layers there are
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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>
|
||||
public uint GetNumBroadPhaseLayers() => Jolt.PInvoke.BroadPhaseLayerInterface_GetNumBroadPhaseLayers(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Convert an object layer to the corresponding broadphase layer
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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>
|
||||
public byte GetBroadPhaseLayer(ushort layer) =>
|
||||
Jolt.PInvoke.BroadPhaseLayerInterface_GetBroadPhaseLayer(this, layer);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue