ImGuiNET / ImGui.NET

An ImGui wrapper for .NET.
MIT License
1.81k stars 298 forks source link

What is the hell? Why do you not care for unmanaged version if we use Net 6.x to newer version without Marshal.cs #398

Open DeafMan1983 opened 1 year ago

DeafMan1983 commented 1 year ago

Hello,

ImGuiIOPtr becomes ImGuiIO*

And I find wrong like example io.SetClipboardTextFn as unmanaged delegator example public static delegate* unmanaged[Cdecl]<void *, sbyte *, void> ClipboardTextFn; But It should in struct like in C# just ImGuiIO.SetClipboardTextFn(delegate* unmanaged[Cdecl]<void *, sbyte *, void> clipboardtextfunction);

Read more Bye bye FunctionPointer - welcome unmanaged delegater

Please use [UnmanagedCallerOnly] for example ImGui_Impl_XXXX class That is why Now we use C# 11.0 or newer version.

pixtur commented 1 year ago

I can't contribute anything to the question, but I assume there are nicer ways to ask for something. As an open source developer I find questions asked in a tone like yours highly irritating. I'm personally super thankful for the outstanding project and would love @mellinoe to continue dedicating his time.

Just my 2 cents.