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.
References:
File last commit:
Show/Diff file:
Action:
ImGui.NET/Generated/StbTexteditRow.gen.cs
32 lines | 1.4 KiB | text/x-csharp | CSharpLexer
32 lines | 1.4 KiB | text/x-csharp | CSharpLexer
r505 | using System; | |||
using System.Numerics; | ||||
using System.Runtime.CompilerServices; | ||||
using System.Text; | ||||
namespace ImGuiNET | ||||
{ | ||||
public unsafe partial struct StbTexteditRow | ||||
{ | ||||
public float x0; | ||||
public float x1; | ||||
public float baseline_y_delta; | ||||
public float ymin; | ||||
public float ymax; | ||||
public int num_chars; | ||||
} | ||||
public unsafe partial struct StbTexteditRowPtr | ||||
{ | ||||
public StbTexteditRow* NativePtr { get; } | ||||
public StbTexteditRowPtr(StbTexteditRow* nativePtr) => NativePtr = nativePtr; | ||||
public StbTexteditRowPtr(IntPtr nativePtr) => NativePtr = (StbTexteditRow*)nativePtr; | ||||
public static implicit operator StbTexteditRowPtr(StbTexteditRow* nativePtr) => new StbTexteditRowPtr(nativePtr); | ||||
public static implicit operator StbTexteditRow* (StbTexteditRowPtr wrappedPtr) => wrappedPtr.NativePtr; | ||||
public static implicit operator StbTexteditRowPtr(IntPtr nativePtr) => new StbTexteditRowPtr(nativePtr); | ||||
public ref float x0 => ref Unsafe.AsRef<float>(&NativePtr->x0); | ||||
public ref float x1 => ref Unsafe.AsRef<float>(&NativePtr->x1); | ||||
public ref float baseline_y_delta => ref Unsafe.AsRef<float>(&NativePtr->baseline_y_delta); | ||||
public ref float ymin => ref Unsafe.AsRef<float>(&NativePtr->ymin); | ||||
public ref float ymax => ref Unsafe.AsRef<float>(&NativePtr->ymax); | ||||
public ref int num_chars => ref Unsafe.AsRef<int>(&NativePtr->num_chars); | ||||
} | ||||
} | ||||