-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImPlotPoint getters wrapping #3
Comments
I think return pointer to |
It's must looks like this.
|
In LuaJIT-ImGui: |
That mean you always allocate dynamic buffer, what gives huge performance impact. And also this api useless for C code. Only for lua. |
Working on this |
Thanks. My question was trying to find a way to avoid two wrappers and having only one. |
In order to wrap ImPlotPoint *getters returning ImPlotPoint getters https://github.com/cimgui/cimplot/blob/master/generator/cimplot_template.cpp#L9 is done.
Two wrappers are needed for
ImPlot_PlotShadedG
.I wonder if there is a simpler way to do it.
The text was updated successfully, but these errors were encountered: