ImGuiNET / ImGui.NET

An ImGui wrapper for .NET.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

DeafMan1983 opened this issue · comments

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.

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.