mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
92 lines
4 KiB
C#
92 lines
4 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
|
|
{
|
|
/// <inheritdoc cref="CompoundShape.GetIntersectingSubShapes(in AABox, Span{uint})"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetIntersectingSubShapes")]
|
|
public static partial int CompoundShape_GetIntersectingSubShapes(
|
|
CompoundShape self,
|
|
in AABox box,
|
|
uint* subShapeIndices,
|
|
int maxSubShapeIndices
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetIntersectingSubShapes(OrientedBox, Span{uint})"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetIntersectingSubShapes_2")]
|
|
public static partial int CompoundShape_GetIntersectingSubShapes_2(
|
|
CompoundShape self,
|
|
OrientedBox box,
|
|
uint* subShapeIndices,
|
|
int maxSubShapeIndices
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetSubShapes()"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShapes")]
|
|
public static partial void CompoundShape_GetSubShapes(CompoundShape self, out NativeSpanView outResult);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetNumSubShapes()"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetNumSubShapes")]
|
|
public static partial uint CompoundShape_GetNumSubShapes(CompoundShape self);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetSubShape(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShape")]
|
|
public static partial void CompoundShape_GetSubShape(
|
|
CompoundShape self,
|
|
uint idx,
|
|
out uint outInRange,
|
|
out CompoundShape.SubShape outResult
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetCompoundUserData(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetCompoundUserData")]
|
|
public static partial uint CompoundShape_GetCompoundUserData(
|
|
CompoundShape self,
|
|
uint idx,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.SetCompoundUserData(uint, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_SetCompoundUserData")]
|
|
public static partial void CompoundShape_SetCompoundUserData(
|
|
CompoundShape self,
|
|
uint idx,
|
|
uint userData,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.IsSubShapeIDValid(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_IsSubShapeIDValid")]
|
|
public static partial Brutal.Bool8 CompoundShape_IsSubShapeIDValid(CompoundShape self, uint subShapeID);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetSubShapeIndexFromID(uint, out uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShapeIndexFromID")]
|
|
public static partial uint CompoundShape_GetSubShapeIndexFromID(
|
|
CompoundShape self,
|
|
uint subShapeID,
|
|
out uint remainder
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.GetSubShapeIDFromIndex(int, SubShapeIDCreator)"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_GetSubShapeIDFromIndex")]
|
|
public static partial SubShapeIDCreator CompoundShape_GetSubShapeIDFromIndex(
|
|
CompoundShape self,
|
|
int idx,
|
|
SubShapeIDCreator parentSubShapeID,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="CompoundShape.Register()"/>
|
|
[LibraryImport("jolt", EntryPoint = "CompoundShape_Register")]
|
|
public static partial void CompoundShape_Register();
|
|
}
|
|
}
|
|
}
|