Closed Shadowblitz16 closed 1 year ago
ListClipperPtr crashes the program and there is no ImGuiList class to pass to it's constructor
yes it crashes. Also please provide C# code when people ask for examples. ListClipper doesn't have a Begin, Step or End method only ListClipperPtr does so the c++ api is not a good reference
Confirming that ListClipperPtr crashes for me as well :(
Nevermind! I figured out that using this works without crashing
ImGuiListClipperPtr listClipper = new ImGuiListClipperPtr(ImGuiNative.ImGuiListClipper_ImGuiListClipper());
I have also pushed a workaround on dear imgui side: https://github.com/ocornut/imgui/commit/e95d66faa8e6c0255572632f34fad97a32f680cd
I am trying to simulate a scroll area and only draw the visible tiles...