void UpdateImGui() { ImGui_ImplDX11_NewFrame(); // or any other supported API ImGui_ImplWin32_NewFrame(); // or any other supported environment ImGui::NewFrame(); ImGui::Begin("Test Window"); { //you do whatever you want here:) } ImGui::End(); }