mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
272 lines
12 KiB
C#
272 lines
12 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="DebugRenderer.NextFrame()"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_NextFrame")]
|
|
public static partial void DebugRenderer_NextFrame(DebugRenderer self);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawLine(float3, float3, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawLine")]
|
|
public static partial void DebugRenderer_DrawLine(DebugRenderer self, float3 from, float3 to, uint color);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawWireBox(in AABox, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox")]
|
|
public static partial void DebugRenderer_DrawWireBox(DebugRenderer self, in AABox box, uint color);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawWireBox(OrientedBox, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox_2")]
|
|
public static partial void DebugRenderer_DrawWireBox_2(DebugRenderer self, OrientedBox box, uint color);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawWireBox(in float4x4, in AABox, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireBox_3")]
|
|
public static partial void DebugRenderer_DrawWireBox_3(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
in AABox box,
|
|
uint color
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawMarker(float3, uint, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawMarker")]
|
|
public static partial void DebugRenderer_DrawMarker(
|
|
DebugRenderer self,
|
|
float3 position,
|
|
uint color,
|
|
float size
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawArrow(float3, float3, uint, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawArrow")]
|
|
public static partial void DebugRenderer_DrawArrow(
|
|
DebugRenderer self,
|
|
float3 from,
|
|
float3 to,
|
|
uint color,
|
|
float size
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawCoordinateSystem(in float4x4, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCoordinateSystem")]
|
|
public static partial void DebugRenderer_DrawCoordinateSystem(
|
|
DebugRenderer self,
|
|
in float4x4 transform,
|
|
float size
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawPlane(float3, float3, uint, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawPlane")]
|
|
public static partial void DebugRenderer_DrawPlane(
|
|
DebugRenderer self,
|
|
float3 point,
|
|
float3 normal,
|
|
uint color,
|
|
float size
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawWireTriangle(float3, float3, float3, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireTriangle")]
|
|
public static partial void DebugRenderer_DrawWireTriangle(
|
|
DebugRenderer self,
|
|
float3 v1,
|
|
float3 v2,
|
|
float3 v3,
|
|
uint color
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawWireSphere(float3, float, uint, int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireSphere")]
|
|
public static partial void DebugRenderer_DrawWireSphere(
|
|
DebugRenderer self,
|
|
float3 center,
|
|
float radius,
|
|
uint color,
|
|
int level
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawWireUnitSphere(in float4x4, uint, int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawWireUnitSphere")]
|
|
public static partial void DebugRenderer_DrawWireUnitSphere(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
uint color,
|
|
int level
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawTriangle(float3, float3, float3, uint, DebugRenderer.CastShadow)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawTriangle")]
|
|
public static partial void DebugRenderer_DrawTriangle(
|
|
DebugRenderer self,
|
|
float3 v1,
|
|
float3 v2,
|
|
float3 v3,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawBox(in AABox, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawBox")]
|
|
public static partial void DebugRenderer_DrawBox(
|
|
DebugRenderer self,
|
|
in AABox box,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawBox(in float4x4, in AABox, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawBox_2")]
|
|
public static partial void DebugRenderer_DrawBox_2(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
in AABox box,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawSphere(float3, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawSphere")]
|
|
public static partial void DebugRenderer_DrawSphere(
|
|
DebugRenderer self,
|
|
float3 center,
|
|
float radius,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawUnitSphere(in float4x4, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawUnitSphere")]
|
|
public static partial void DebugRenderer_DrawUnitSphere(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawCapsule(in float4x4, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCapsule")]
|
|
public static partial void DebugRenderer_DrawCapsule(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
float halfHeightOfCylinder,
|
|
float radius,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawCylinder(in float4x4, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawCylinder")]
|
|
public static partial void DebugRenderer_DrawCylinder(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
float halfHeight,
|
|
float radius,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawOpenCone(float3, float3, float3, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[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.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawSwingConeLimits(in float4x4, float, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawSwingConeLimits")]
|
|
public static partial void DebugRenderer_DrawSwingConeLimits(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
float swingYHalfAngle,
|
|
float swingZHalfAngle,
|
|
float edgeLength,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawSwingPyramidLimits(in float4x4, float, float, float, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawSwingPyramidLimits")]
|
|
public static partial void DebugRenderer_DrawSwingPyramidLimits(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
float minSwingYAngle,
|
|
float maxSwingYAngle,
|
|
float minSwingZAngle,
|
|
float maxSwingZAngle,
|
|
float edgeLength,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawPie(float3, float, float3, float3, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[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.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawTaperedCylinder(in float4x4, float, float, float, float, uint, DebugRenderer.CastShadow, DebugRenderer.DrawMode)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawTaperedCylinder")]
|
|
public static partial void DebugRenderer_DrawTaperedCylinder(
|
|
DebugRenderer self,
|
|
in float4x4 matrix,
|
|
float top,
|
|
float bottom,
|
|
float topRadius,
|
|
float bottomRadius,
|
|
uint color,
|
|
DebugRenderer.CastShadow castShadow,
|
|
DebugRenderer.DrawMode drawMode
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.DrawText3D(float3, RefString8, uint, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_DrawText3D")]
|
|
public static partial void DebugRenderer_DrawText3D(
|
|
DebugRenderer self,
|
|
float3 position,
|
|
byte* @string,
|
|
uint color,
|
|
float height
|
|
);
|
|
|
|
/// <inheritdoc cref="DebugRenderer.GetInstance()"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_GetInstance")]
|
|
public static partial DebugRenderer DebugRenderer_GetInstance();
|
|
|
|
/// <inheritdoc cref="DebugRenderer.SetInstance(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRenderer_SetInstance")]
|
|
public static partial void DebugRenderer_SetInstance(DebugRenderer value);
|
|
}
|
|
}
|
|
}
|