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

393 lines
24 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/Renderer/DebugRenderer.h#L56">Jolt/Renderer/DebugRenderer.h:56</see>
/// <br/>
/// <c>void NextFrame()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Call once after frame is complete. Releases unused dynamically generated geometry assets.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_NextFrame")]
public static partial void DebugRenderer_NextFrame(DebugRenderer self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L59">Jolt/Renderer/DebugRenderer.h:59</see>
/// <br/>
/// <c>virtual void DrawLine(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor) = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw line
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawLine")]
public static partial void DebugRenderer_DrawLine(DebugRenderer self, float3 from, float3 to, uint color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L62">Jolt/Renderer/DebugRenderer.h:62</see>
/// <br/>
/// <c>void DrawWireBox(const AABox &amp;inBox, ColorArg inColor)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw wireframe box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox")]
public static partial void DebugRenderer_DrawWireBox(DebugRenderer self, AABox box, uint color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L63">Jolt/Renderer/DebugRenderer.h:63</see>
/// <br/>
/// <c>void DrawWireBox(const OrientedBox &amp;inBox, ColorArg inColor)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox_2")]
public static partial void DebugRenderer_DrawWireBox_2(DebugRenderer self, OrientedBox box, uint color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L64">Jolt/Renderer/DebugRenderer.h:64</see>
/// <br/>
/// <c>void DrawWireBox(RMat44Arg inMatrix, const AABox &amp;inBox, ColorArg inColor)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox_3")]
public static partial void DebugRenderer_DrawWireBox_3(DebugRenderer self, float4x4 matrix, AABox box, uint color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L67">Jolt/Renderer/DebugRenderer.h:67</see>
/// <br/>
/// <c>void DrawMarker(RVec3Arg inPosition, ColorArg inColor, float inSize)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a marker on a position
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawMarker")]
public static partial void DebugRenderer_DrawMarker(DebugRenderer self, float3 position, uint color, float size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L70">Jolt/Renderer/DebugRenderer.h:70</see>
/// <br/>
/// <c>void DrawArrow(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor, float inSize)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw an arrow
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawArrow")]
public static partial void DebugRenderer_DrawArrow(DebugRenderer self, float3 from, float3 to, uint color, float size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L73">Jolt/Renderer/DebugRenderer.h:73</see>
/// <br/>
/// <c>void DrawCoordinateSystem(RMat44Arg inTransform, float inSize = 1.0f)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw coordinate system (3 arrows, x = red, y = green, z = blue)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCoordinateSystem")]
public static partial void DebugRenderer_DrawCoordinateSystem(DebugRenderer self, float4x4 transform, float size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L76">Jolt/Renderer/DebugRenderer.h:76</see>
/// <br/>
/// <c>void DrawPlane(RVec3Arg inPoint, Vec3Arg inNormal, ColorArg inColor, float inSize)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a plane through inPoint with normal inNormal
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawPlane")]
public static partial void DebugRenderer_DrawPlane(DebugRenderer self, float3 point, float3 normal, uint color, float size);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L79">Jolt/Renderer/DebugRenderer.h:79</see>
/// <br/>
/// <c>void DrawWireTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw wireframe triangle
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireTriangle")]
public static partial void DebugRenderer_DrawWireTriangle(DebugRenderer self, float3 v1, float3 v2, float3 v3, uint color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L86">Jolt/Renderer/DebugRenderer.h:86</see>
/// <br/>
/// <c>void DrawWireSphere(RVec3Arg inCenter, float inRadius, ColorArg inColor, int inLevel = 3)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw wireframe sphere
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireSphere")]
public static partial void DebugRenderer_DrawWireSphere(DebugRenderer self, float3 center, float radius, uint color, int level);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L87">Jolt/Renderer/DebugRenderer.h:87</see>
/// <br/>
/// <c>void DrawWireUnitSphere(RMat44Arg inMatrix, ColorArg inColor, int inLevel = 3)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireUnitSphere")]
public static partial void DebugRenderer_DrawWireUnitSphere(DebugRenderer self, float4x4 matrix, uint color, int level);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L104">Jolt/Renderer/DebugRenderer.h:104</see>
/// <br/>
/// <c>virtual void DrawTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::Off) = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a single back face culled triangle
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawTriangle")]
public static partial void DebugRenderer_DrawTriangle(DebugRenderer self, float3 v1, float3 v2, float3 v3, uint color, DebugRenderer.ECastShadow castShadow);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L107">Jolt/Renderer/DebugRenderer.h:107</see>
/// <br/>
/// <c>void DrawBox(const AABox &amp;inBox, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawBox")]
public static partial void DebugRenderer_DrawBox(DebugRenderer self, AABox box, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L108">Jolt/Renderer/DebugRenderer.h:108</see>
/// <br/>
/// <c>void DrawBox(RMat44Arg inMatrix, const AABox &amp;inBox, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawBox_2")]
public static partial void DebugRenderer_DrawBox_2(DebugRenderer self, float4x4 matrix, AABox box, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L111">Jolt/Renderer/DebugRenderer.h:111</see>
/// <br/>
/// <c>void DrawSphere(RVec3Arg inCenter, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Draw a sphere
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawSphere")]
public static partial void DebugRenderer_DrawSphere(DebugRenderer self, float3 center, float radius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L112">Jolt/Renderer/DebugRenderer.h:112</see>
/// <br/>
/// <c>void DrawUnitSphere(RMat44Arg inMatrix, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawUnitSphere")]
public static partial void DebugRenderer_DrawUnitSphere(DebugRenderer self, float4x4 matrix, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L116">Jolt/Renderer/DebugRenderer.h:116</see>
/// <br/>
/// <c>void DrawCapsule(RMat44Arg inMatrix, float inHalfHeightOfCylinder, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a capsule with one half sphere at (0, -inHalfHeightOfCylinder, 0) and the other half sphere at (0, inHalfHeightOfCylinder, 0) and radius inRadius.
/// The capsule will be transformed by inMatrix.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCapsule")]
public static partial void DebugRenderer_DrawCapsule(DebugRenderer self, float4x4 matrix, float halfHeightOfCylinder, float radius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L120">Jolt/Renderer/DebugRenderer.h:120</see>
/// <br/>
/// <c>void DrawCylinder(RMat44Arg inMatrix, float inHalfHeight, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a cylinder with top (0, inHalfHeight, 0) and bottom (0, -inHalfHeight, 0) and radius inRadius.
/// The cylinder will be transformed by inMatrix
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCylinder")]
public static partial void DebugRenderer_DrawCylinder(DebugRenderer self, float4x4 matrix, float halfHeight, float radius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L131">Jolt/Renderer/DebugRenderer.h:131</see>
/// <br/>
/// <c>void DrawOpenCone(RVec3Arg inTop, Vec3Arg inAxis, Vec3Arg inPerpendicular, float inHalfAngle, float inLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a bottomless cone.
/// @param inTop Top of cone, center of base is at inTop + inAxis.
/// @param inAxis Height and direction of cone
/// @param inPerpendicular Perpendicular vector to inAxis.
/// @param inHalfAngle Specifies the cone angle in radians (angle measured between inAxis and cone surface).
/// @param inLength The length of the cone.
/// @param inColor Color to use for drawing the cone.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawOpenCone")]
public static partial void DebugRenderer_DrawOpenCone(DebugRenderer self, float3 top, float3 axis, float3 perpendicular, float halfAngle, float length, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L141">Jolt/Renderer/DebugRenderer.h:141</see>
/// <br/>
/// <c>void DrawSwingConeLimits(RMat44Arg inMatrix, float inSwingYHalfAngle, float inSwingZHalfAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draws cone rotation limits as used by the SwingTwistConstraintPart.
/// @param inMatrix Matrix that transforms from constraint space to world space
/// @param inSwingYHalfAngle See SwingTwistConstraintPart
/// @param inSwingZHalfAngle See SwingTwistConstraintPart
/// @param inEdgeLength Size of the edge of the cone shape
/// @param inColor Color to use for drawing the cone.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawSwingConeLimits")]
public static partial void DebugRenderer_DrawSwingConeLimits(DebugRenderer self, float4x4 matrix, float swingYHalfAngle, float swingZHalfAngle, float edgeLength, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L153">Jolt/Renderer/DebugRenderer.h:153</see>
/// <br/>
/// <c>void DrawSwingPyramidLimits(RMat44Arg inMatrix, float inMinSwingYAngle, float inMaxSwingYAngle, float inMinSwingZAngle, float inMaxSwingZAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draws rotation limits as used by the SwingTwistConstraintPart.
/// @param inMatrix Matrix that transforms from constraint space to world space
/// @param inMinSwingYAngle See SwingTwistConstraintPart
/// @param inMaxSwingYAngle See SwingTwistConstraintPart
/// @param inMinSwingZAngle See SwingTwistConstraintPart
/// @param inMaxSwingZAngle See SwingTwistConstraintPart
/// @param inEdgeLength Size of the edge of the cone shape
/// @param inColor Color to use for drawing the cone.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawSwingPyramidLimits")]
public static partial void DebugRenderer_DrawSwingPyramidLimits(DebugRenderer self, float4x4 matrix, float minSwingYAngle, float maxSwingYAngle, float minSwingZAngle, float maxSwingZAngle, float edgeLength, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L165">Jolt/Renderer/DebugRenderer.h:165</see>
/// <br/>
/// <c>void DrawPie(RVec3Arg inCenter, float inRadius, Vec3Arg inNormal, Vec3Arg inAxis, float inMinAngle, float inMaxAngle, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a pie (part of a circle).
/// @param inCenter The center of the circle.
/// @param inRadius Radius of the circle.
/// @param inNormal The plane normal in which the pie resides.
/// @param inAxis The axis that defines an angle of 0 radians.
/// @param inMinAngle The pie will be drawn between [inMinAngle, inMaxAngle] (in radians).
/// @param inMaxAngle The pie will be drawn between [inMinAngle, inMaxAngle] (in radians).
/// @param inColor Color to use for drawing the pie.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawPie")]
public static partial void DebugRenderer_DrawPie(DebugRenderer self, float3 center, float radius, float3 normal, float3 axis, float minAngle, float maxAngle, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRenderer.h#L176">Jolt/Renderer/DebugRenderer.h:176</see>
/// <br/>
/// <c>void DrawTaperedCylinder(RMat44Arg inMatrix, float inTop, float inBottom, float inTopRadius, float inBottomRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Draw a tapered cylinder
/// @param inMatrix Matrix that transforms the cylinder to world space.
/// @param inTop Top of cylinder (along Y axis)
/// @param inBottom Bottom of cylinder (along Y axis)
/// @param inTopRadius Radius at the top
/// @param inBottomRadius Radius at the bottom
/// @param inColor Color to use for drawing the pie.
/// @param inCastShadow determines if this geometry should cast a shadow or not.
/// @param inDrawMode determines if we draw the geometry solid or in wireframe.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawTaperedCylinder")]
public static partial void DebugRenderer_DrawTaperedCylinder(DebugRenderer self, float4x4 matrix, float top, float bottom, float topRadius, float bottomRadius, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode);
}
}
}