UnrealImGui/Source/ImGui/Private/ImGuiImplementation.h
Sebastian a76f4bc451 Improved hot-reload stability and support for reloading after recompiling outside of the editor:
- Hot-reloading from inside of the editor and after recompiling from the outside should be equally supported and work together.
- Improved robustness of the delegates redirections. There should be no lost delegates when reloading (either after in-editor or outside recompilation).
- Refactored code to use the same redirection template for context and delegates container.
2020-07-31 10:24:53 +01:00

18 lines
443 B
C++

// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
#pragma once
struct FImGuiContextHandle;
// Gives access to selected ImGui implementation features.
namespace ImGuiImplementation
{
#if WITH_EDITOR
// Get the handle to the ImGui Context pointer.
FImGuiContextHandle& GetContextHandle();
// Set the ImGui Context pointer handle.
void SetParentContextHandle(FImGuiContextHandle& Parent);
#endif // WITH_EDITOR
}