// // 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 { /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:56 ///
/// void NextFrame() ///
///
/// /// /// Call once after frame is complete. Releases unused dynamically generated geometry assets. /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_NextFrame")] public static partial void DebugRenderer_NextFrame(DebugRenderer self); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:59 ///
/// virtual void DrawLine(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor) = 0 ///
///
/// /// /// Draw line /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawLine")] public static partial void DebugRenderer_DrawLine(DebugRenderer self, float3 from, float3 to, uint color); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:62 ///
/// void DrawWireBox(const AABox &inBox, ColorArg inColor) ///
///
/// /// /// Draw wireframe box /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox")] public static partial void DebugRenderer_DrawWireBox(DebugRenderer self, AABox box, uint color); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:63 ///
/// void DrawWireBox(const OrientedBox &inBox, ColorArg inColor) ///
///
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox_2")] public static partial void DebugRenderer_DrawWireBox_2(DebugRenderer self, OrientedBox box, uint color); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:64 ///
/// void DrawWireBox(RMat44Arg inMatrix, const AABox &inBox, ColorArg inColor) ///
///
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox_3")] public static partial void DebugRenderer_DrawWireBox_3(DebugRenderer self, float4x4 matrix, AABox box, uint color); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:67 ///
/// void DrawMarker(RVec3Arg inPosition, ColorArg inColor, float inSize) ///
///
/// /// /// Draw a marker on a position /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawMarker")] public static partial void DebugRenderer_DrawMarker(DebugRenderer self, float3 position, uint color, float size); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:70 ///
/// void DrawArrow(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor, float inSize) ///
///
/// /// /// Draw an arrow /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawArrow")] public static partial void DebugRenderer_DrawArrow(DebugRenderer self, float3 from, float3 to, uint color, float size); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:73 ///
/// void DrawCoordinateSystem(RMat44Arg inTransform, float inSize = 1.0f) ///
///
/// /// /// Draw coordinate system (3 arrows, x = red, y = green, z = blue) /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCoordinateSystem")] public static partial void DebugRenderer_DrawCoordinateSystem(DebugRenderer self, float4x4 transform, float size); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:76 ///
/// void DrawPlane(RVec3Arg inPoint, Vec3Arg inNormal, ColorArg inColor, float inSize) ///
///
/// /// /// Draw a plane through inPoint with normal inNormal /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawPlane")] public static partial void DebugRenderer_DrawPlane(DebugRenderer self, float3 point, float3 normal, uint color, float size); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:79 ///
/// void DrawWireTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor) ///
///
/// /// /// Draw wireframe triangle /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireTriangle")] public static partial void DebugRenderer_DrawWireTriangle(DebugRenderer self, float3 v1, float3 v2, float3 v3, uint color); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:86 ///
/// void DrawWireSphere(RVec3Arg inCenter, float inRadius, ColorArg inColor, int inLevel = 3) ///
///
/// /// /// Draw wireframe sphere /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireSphere")] public static partial void DebugRenderer_DrawWireSphere(DebugRenderer self, float3 center, float radius, uint color, int level); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:87 ///
/// void DrawWireUnitSphere(RMat44Arg inMatrix, ColorArg inColor, int inLevel = 3) ///
///
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireUnitSphere")] public static partial void DebugRenderer_DrawWireUnitSphere(DebugRenderer self, float4x4 matrix, uint color, int level); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:104 ///
/// virtual void DrawTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::Off) = 0 ///
///
/// /// /// Draw a single back face culled triangle /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawTriangle")] public static partial void DebugRenderer_DrawTriangle(DebugRenderer self, float3 v1, float3 v2, float3 v3, uint color, DebugRenderer.ECastShadow castShadow); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:107 ///
/// void DrawBox(const AABox &inBox, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// Draw a box /// /// [LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawBox")] public static partial void DebugRenderer_DrawBox(DebugRenderer self, AABox box, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:108 ///
/// void DrawBox(RMat44Arg inMatrix, const AABox &inBox, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
[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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:111 ///
/// void DrawSphere(RVec3Arg inCenter, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// Draw a sphere /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:112 ///
/// void DrawUnitSphere(RMat44Arg inMatrix, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawUnitSphere")] public static partial void DebugRenderer_DrawUnitSphere(DebugRenderer self, float4x4 matrix, uint color, DebugRenderer.ECastShadow castShadow, DebugRenderer.EDrawMode drawMode); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:116 ///
/// void DrawCapsule(RMat44Arg inMatrix, float inHalfHeightOfCylinder, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// 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. /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:120 ///
/// void DrawCylinder(RMat44Arg inMatrix, float inHalfHeight, float inRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// Draw a cylinder with top (0, inHalfHeight, 0) and bottom (0, -inHalfHeight, 0) and radius inRadius. /// The cylinder will be transformed by inMatrix /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:131 ///
/// void DrawOpenCone(RVec3Arg inTop, Vec3Arg inAxis, Vec3Arg inPerpendicular, float inHalfAngle, float inLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// 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. /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:141 ///
/// void DrawSwingConeLimits(RMat44Arg inMatrix, float inSwingYHalfAngle, float inSwingZHalfAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// 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. /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:153 ///
/// void DrawSwingPyramidLimits(RMat44Arg inMatrix, float inMinSwingYAngle, float inMaxSwingYAngle, float inMinSwingZAngle, float inMaxSwingZAngle, float inEdgeLength, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// 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. /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:165 ///
/// void DrawPie(RVec3Arg inCenter, float inRadius, Vec3Arg inNormal, Vec3Arg inAxis, float inMinAngle, float inMaxAngle, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// 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. /// /// [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); /// /// /// C++: /// Jolt/Renderer/DebugRenderer.h:176 ///
/// void DrawTaperedCylinder(RMat44Arg inMatrix, float inTop, float inBottom, float inTopRadius, float inBottomRadius, ColorArg inColor, ECastShadow inCastShadow = ECastShadow::On, EDrawMode inDrawMode = EDrawMode::Solid) ///
///
/// /// /// 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. /// /// [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); } } }