ImGui example code clarifications
Nice work on this project. I'm pretty new to DirectX and need a bit of help. Your ImGui example code is helpful, but there are some missing pieces that I cannot figure out.
CreateDeviceD3D() is incomplete, but it looks like all that's left to do is actually create the device and assign to a global variable.
SendBuffer() is where I'm having issues. When copying data from one buffer to the other, you have:
memcpy(mainHeader->ActualBuffer, mappedResource.pData, bufferSize);
mainHeader is not defined anywhere and I'm not sure what this object is. Also, at what point would the call be made to SendBuffer()? Would this be in place of the SendFrame()?
I'm trying to modify your code to get a simple ImGui::ShowDemoWindow() to display. Any help is greatly appreciated.
The same , did you manage to create a menu with ImGui ?