Show More
Commit Description:
Add timers for Simulation and various engines...
Commit Description:
Add timers for Simulation and various engines Starting to add additional timers for different stages of the process of updating in order to get more insight into what is slowing it down. The update takes 9ms, which is much longer than it used to. Engine-specific timers are coming later.
File last commit:
Show/Diff file:
Action:
ImPlot.NET/Generated/ImPlotPoint.gen.cs
29 lines | 1.1 KiB | text/x-csharp | CSharpLexer
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using ImGuiNET;
namespace ImPlotNET
{
public unsafe partial struct ImPlotPoint
{
public double x;
public double y;
}
public unsafe partial struct ImPlotPointPtr
{
public ImPlotPoint* NativePtr { get; }
public ImPlotPointPtr(ImPlotPoint* nativePtr) => NativePtr = nativePtr;
public ImPlotPointPtr(IntPtr nativePtr) => NativePtr = (ImPlotPoint*)nativePtr;
public static implicit operator ImPlotPointPtr(ImPlotPoint* nativePtr) => new ImPlotPointPtr(nativePtr);
public static implicit operator ImPlotPoint* (ImPlotPointPtr wrappedPtr) => wrappedPtr.NativePtr;
public static implicit operator ImPlotPointPtr(IntPtr nativePtr) => new ImPlotPointPtr(nativePtr);
public ref double x => ref Unsafe.AsRef<double>(&NativePtr->x);
public ref double y => ref Unsafe.AsRef<double>(&NativePtr->y);
public void Destroy()
{
ImPlotNative.ImPlotPoint_destroy((ImPlotPoint*)(NativePtr));
}
}
}