Is it possible to get the shape primitives for imgui implemented and accessible via lua in the addon base (aka dinput8.xxx)? Using the currently available-to-lua imgui method
imgui.BeginChild("NAME",boxSizeX,boxSizey,drawBorder==true)) I get fairly large frame drops after drawing more than ~20 rectangles. More than ~2-3 fps drop from 30 and the game feels like playing without an h/battle or v101.
without drawing:
View attachment 23303
vs.
View attachment 23304
Even running all the item filtering,sorting, x/y position calculations, ect, ect the biggest frame drop is on "render".
I would like to be able to more efficiently draw shapes such as a square around item drops or enemies for an addon I'm working on that can be found here:
PSOBB Lua Addon to show what a drop contains, which ones are important loot, and where it is onscreen - X9Z0-M2/psobb-dropbox-tracker
github.com
Check out this github link for an example of the relevant methods in imgui, which I'm hoping may solve my fps issue:
Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies - ocornut/imgui
github.com