Hello,
I'm started new on DX11, I'm making a editor but i want a draw game viewport into ImGui window.
How can I do this?
Thanks a lot!
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Hello,
I'm started new on DX11, I'm making a editor but i want a draw game viewport into ImGui window.
How can I do this?
Thanks a lot!
You need to render your game viewport into a texture.
See https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples#rendering-your-game-scene-into-a-texture