mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
49 lines
2.4 KiB
C#
49 lines
2.4 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/DebugRendererSimple.h#L47">Jolt/Renderer/DebugRendererSimple.h:47</see>
|
|
/// <br/>
|
|
/// <c>void SetCameraPos(RVec3Arg inCameraPos)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Should be called every frame by the application to provide the camera position.
|
|
/// This is used to determine the correct LOD for rendering.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererSimple_SetCameraPos")]
|
|
public static partial void DebugRendererSimple_SetCameraPos(DebugRendererSimple self, float3 cameraPos);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Renderer/DebugRendererSimple.h#L54">Jolt/Renderer/DebugRendererSimple.h:54</see>
|
|
/// <br/>
|
|
/// <c>virtual void DrawTriangle(RVec3Arg inV1, RVec3Arg inV2, RVec3Arg inV3, ColorArg inColor, ECastShadow inCastShadow) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Fallback implementation that uses DrawLine to draw a triangle (override this if you have a version
|
|
/// that renders solid triangles)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererSimple_DrawTriangle")]
|
|
public static partial void DebugRendererSimple_DrawTriangle(DebugRendererSimple self, float3 v1, float3 v2, float3 v3, uint color, DebugRenderer.ECastShadow castShadow);
|
|
[LibraryImport("jolt", EntryPoint = "DebugRendererSimple_AsDebugRenderer")]
|
|
public static partial DebugRenderer DebugRendererSimple_AsDebugRenderer(DebugRendererSimple self);
|
|
}
|
|
}
|
|
}
|