mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
74 lines
3.7 KiB
C#
74 lines
3.7 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/DebugRendererRecorder.h#L25">Jolt/Renderer/DebugRendererRecorder.h:25</see>
|
|
/// <br/>
|
|
/// <c>DebugRendererRecorder(StreamOut &inStream)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererRecorder_Create")]
|
|
public static partial DebugRendererRecorder DebugRendererRecorder_Create(StreamOut stream);
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererRecorder_Destroy")]
|
|
public static partial void DebugRendererRecorder_Destroy(DebugRendererRecorder self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRendererRecorder.h#L28">Jolt/Renderer/DebugRendererRecorder.h:28</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawLine(RVec3Arg inFrom, RVec3Arg inTo, ColorArg inColor) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Implementation of DebugRenderer interface
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererRecorder_DrawLine")]
|
|
public static partial void DebugRendererRecorder_DrawLine(DebugRendererRecorder self, float3 from, float3 to, uint color);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRendererRecorder.h#L29">Jolt/Renderer/DebugRendererRecorder.h:29</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererRecorder_DrawTriangle")]
|
|
public static partial void DebugRendererRecorder_DrawTriangle(DebugRendererRecorder 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/DebugRendererRecorder.h#L36">Jolt/Renderer/DebugRendererRecorder.h:36</see>
|
|
/// <br/>
|
|
/// <c>void EndFrame()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Mark the end of a frame
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererRecorder_EndFrame")]
|
|
public static partial void DebugRendererRecorder_EndFrame(DebugRendererRecorder self);
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererRecorder_AsDebugRenderer")]
|
|
public static partial DebugRenderer DebugRendererRecorder_AsDebugRenderer(DebugRendererRecorder self);
|
|
}
|
|
}
|
|
}
|