Closed wkjarosz closed 1 year ago
Hello,
Thanks a lot for your contribution! It was perfect, so I merged it.
I wasn't sure whether the markdown documentation is autogenerated from the code comments
Yes, it is. See tools/doc/process_md_docs.py
. It is called automatically if you invoke cmake with -DHELLOIMGUI_BUILD_DOCS=ON
Since it was worthy of a demo + documentation I added a demo: see https://github.com/pthom/hello_imgui/commit/a7afb9eab293cf09d4d9641fc7acd36b3a5186ab
Thanks again!
fixes #70
I wasn't sure whether the markdown documentation is autogenerated from the code comments, but, just in case, I included the documentation for the new callback both in the code and the markdown documentation.
Also, I moved the
Impl_Frame_3D_ClearColor()
(orCustomBackground
) call to be just beforeRenderGui
inCreateFramesAndRender()
. Otherwise the Gui is delayed by 1 frame compared to the background.