mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
201
brutal.jolt/Brutal.Jolt/Generated/PInvoke/ConvexShape.gen.cs
Normal file
201
brutal.jolt/Brutal.Jolt/Generated/PInvoke/ConvexShape.gen.cs
Normal file
|
|
@ -0,0 +1,201 @@
|
|||
// <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>
|
||||
/// Convex shapes don't have sub shapes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L46">Jolt/Physics/Collision/Shape/ConvexShape.h:46</see>
|
||||
/// <br/>
|
||||
/// <c>virtual uint GetSubShapeIDBitsRecursive() const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape::GetSubShapeIDBitsRecursive
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetSubShapeIDBitsRecursive")]
|
||||
public static partial uint ConvexShape_GetSubShapeIDBitsRecursive(ConvexShape self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L49">Jolt/Physics/Collision/Shape/ConvexShape.h:49</see>
|
||||
/// <br/>
|
||||
/// <c>virtual const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape::GetMaterial
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetMaterial")]
|
||||
public static partial PhysicsMaterial ConvexShape_GetMaterial(ConvexShape self, uint subShapeID);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L59">Jolt/Physics/Collision/Shape/ConvexShape.h:59</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape::GetTrianglesStart
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetTrianglesStart")]
|
||||
public static partial void ConvexShape_GetTrianglesStart(ConvexShape self, ref Shape.GetTrianglesContext context, AABox box, float3 positionCOM, floatQuat rotation, float3 scale);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L65">Jolt/Physics/Collision/Shape/ConvexShape.h:65</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy JPH_IF_DEBUG_RENDERER(, RVec3Arg inBaseOffset)) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape::GetSubmergedVolume
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetSubmergedVolume")]
|
||||
public static partial void ConvexShape_GetSubmergedVolume(ConvexShape self, float4x4 centerOfMassTransform, float3 scale, Plane surface, out float totalVolume, out float submergedVolume, out float3 centerOfBuoyancy, float3 baseOffset);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L105">Jolt/Physics/Collision/Shape/ConvexShape.h:105</see>
|
||||
/// <br/>
|
||||
/// <c>void SetMaterial(const PhysicsMaterial *inMaterial)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Material of the shape
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_SetMaterial")]
|
||||
public static partial void ConvexShape_SetMaterial(ConvexShape self, PhysicsMaterial material);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L106">Jolt/Physics/Collision/Shape/ConvexShape.h:106</see>
|
||||
/// <br/>
|
||||
/// <c>const PhysicsMaterial * GetMaterial() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetMaterial_2")]
|
||||
public static partial PhysicsMaterial ConvexShape_GetMaterial_2(ConvexShape self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L109">Jolt/Physics/Collision/Shape/ConvexShape.h:109</see>
|
||||
/// <br/>
|
||||
/// <c>void SetDensity(float inDensity)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Set density of the shape (kg / m^3)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_SetDensity")]
|
||||
public static partial void ConvexShape_SetDensity(ConvexShape self, float density);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L112">Jolt/Physics/Collision/Shape/ConvexShape.h:112</see>
|
||||
/// <br/>
|
||||
/// <c>float GetDensity() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get density of the shape (kg / m^3)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetDensity")]
|
||||
public static partial float ConvexShape_GetDensity(ConvexShape self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L116">Jolt/Physics/Collision/Shape/ConvexShape.h:116</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void DrawGetSupportFunction(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale, ColorArg inColor, bool inDrawSupportDirection) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape::DrawGetSupportFunction
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_DrawGetSupportFunction")]
|
||||
public static partial void ConvexShape_DrawGetSupportFunction(ConvexShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale, uint color, Brutal.Bool8 drawSupportDirection);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L119">Jolt/Physics/Collision/Shape/ConvexShape.h:119</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void DrawGetSupportingFace(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, Vec3Arg inScale) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape::DrawGetSupportingFace
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_DrawGetSupportingFace")]
|
||||
public static partial void ConvexShape_DrawGetSupportingFace(ConvexShape self, DebugRenderer renderer, float4x4 centerOfMassTransform, float3 scale);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L123">Jolt/Physics/Collision/Shape/ConvexShape.h:123</see>
|
||||
/// <br/>
|
||||
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const override</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// See Shape
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_SaveBinaryState")]
|
||||
public static partial void ConvexShape_SaveBinaryState(ConvexShape self, StreamOut stream);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/Shape/ConvexShape.h#L128">Jolt/Physics/Collision/Shape/ConvexShape.h:128</see>
|
||||
/// <br/>
|
||||
/// <c>static void sRegister()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Register shape functions with the registry
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_sRegister")]
|
||||
public static partial void ConvexShape_sRegister();
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_AddRef")]
|
||||
public static partial void ConvexShape_AddRef(ConvexShape self);
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_Release")]
|
||||
public static partial void ConvexShape_Release(ConvexShape self);
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_GetRefCount")]
|
||||
public static partial uint ConvexShape_GetRefCount(ConvexShape self);
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexShape_AsShape")]
|
||||
public static partial Shape ConvexShape_AsShape(ConvexShape self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue