Backend data stored in io.BackendRendererUserData to allow support for multiple Dear ImGui contexts It is STRONGLY preferred that you use docking branch with multi-viewports (== single Dear ImGui context + multiple windows) instead of multiple Dear ImGui contexts.
| 73 | // Backend data stored in io.BackendRendererUserData to allow support for multiple Dear ImGui contexts |
| 74 | // It is STRONGLY preferred that you use docking branch with multi-viewports (== single Dear ImGui context + multiple windows) instead of multiple Dear ImGui contexts. |
| 75 | static ImGui_ImplDX11_Data* ImGui_ImplDX11_GetBackendData() |
| 76 | { |
| 77 | return ImGui::GetCurrentContext() ? (ImGui_ImplDX11_Data*)ImGui::GetIO().BackendRendererUserData : nullptr; |
| 78 | } |
| 79 | |
| 80 | // Functions |
| 81 | static void ImGui_ImplDX11_SetupRenderState(ImDrawData* draw_data, ID3D11DeviceContext* ctx) |
no outgoing calls
no test coverage detected