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/ImGuiSizeCallbackData.gen.cs
28 lines | 1.4 KiB | text/x-csharp | CSharpLexer
28 lines | 1.4 KiB | text/x-csharp | CSharpLexer
r16 | using System; | |||
using System.Numerics; | ||||
using System.Runtime.CompilerServices; | ||||
using System.Text; | ||||
namespace ImGuiNET | ||||
{ | ||||
public unsafe partial struct ImGuiSizeCallbackData | ||||
{ | ||||
public void* UserData; | ||||
public Vector2 Pos; | ||||
public Vector2 CurrentSize; | ||||
public Vector2 DesiredSize; | ||||
} | ||||
public unsafe partial struct ImGuiSizeCallbackDataPtr | ||||
{ | ||||
public ImGuiSizeCallbackData* NativePtr { get; } | ||||
public ImGuiSizeCallbackDataPtr(ImGuiSizeCallbackData* nativePtr) => NativePtr = nativePtr; | ||||
public ImGuiSizeCallbackDataPtr(IntPtr nativePtr) => NativePtr = (ImGuiSizeCallbackData*)nativePtr; | ||||
public static implicit operator ImGuiSizeCallbackDataPtr(ImGuiSizeCallbackData* nativePtr) => new ImGuiSizeCallbackDataPtr(nativePtr); | ||||
public static implicit operator ImGuiSizeCallbackData* (ImGuiSizeCallbackDataPtr wrappedPtr) => wrappedPtr.NativePtr; | ||||
public static implicit operator ImGuiSizeCallbackDataPtr(IntPtr nativePtr) => new ImGuiSizeCallbackDataPtr(nativePtr); | ||||
public IntPtr UserData { get => (IntPtr)NativePtr->UserData; set => NativePtr->UserData = (void*)value; } | ||||
public ref Vector2 Pos => ref Unsafe.AsRef<Vector2>(&NativePtr->Pos); | ||||
public ref Vector2 CurrentSize => ref Unsafe.AsRef<Vector2>(&NativePtr->CurrentSize); | ||||
public ref Vector2 DesiredSize => ref Unsafe.AsRef<Vector2>(&NativePtr->DesiredSize); | ||||
} | ||||
} | ||||