Advertisement

How can i render into ImGui window to my game?

Started by July 23, 2023 12:10 PM
1 comment, last by ocornut 1 year, 3 months ago

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

Advertisement

This topic is closed to new replies.

Advertisement