OverlayCord icon indicating copy to clipboard operation
OverlayCord copied to clipboard

ImGui example code clarifications

Open cashcache opened this issue 1 year ago • 1 comments

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.

cashcache avatar Feb 12 '24 02:02 cashcache

The same , did you manage to create a menu with ImGui ?

Snake18203 avatar May 18 '24 22:05 Snake18203