A DirectX 12 hook implementation using ImGui and Kiero. This project allows you to inject custom ImGui interfaces into DirectX 12 applications.
- DirectX 12 Hook implementation
- ImGui integration through Kiero
- Resizable window support
- Fullscreen support
- Minimal performance impact
- Doesn't crash when injected instantly (before window is created)
- Windows 10/11
- Visual Studio 2022
- DirectX SDK
- CMake 3.15 or higher
- Git
- Clone the repository with submodules:
git clone --recurse-submodules https://github.com/chadlrnsn/ImGui-DirectX-12-Kiero-Hook
cd ImGui-DirectX-12-Kiero-Hook
- Build Release (recommended):
cmake --preset windows-x64-release
cmake --build build/windows-x64-release --config Release
Or Debug:
cmake --preset windows-x64-debug
cmake --build build/windows-x64-debug --config Debug
The DLL will be in:
- Release:
build/windows-x64-release/Release/ImGui_DirectX12_Hook.dll
- Debug:
build/windows-x64-debug/Debug/ImGui_DirectX12_Hook.dll
- Clone the repository as shown above
- Open
ImGui-DirectX-12-Kiero-Hook.sln
- Select configuration (Debug/Release)
- Build Solution (Ctrl + B)
- Debug builds with debug layers enabled might crash
- Minor flickering may occur
- Menu freezes when switching to fullscreen (Alt+Enter) while menu is open
This project uses:
- Kiero for function hooking
- Dear ImGui for the user interface
- MinHook for API hooking
Feel free to submit issues and pull requests.
[!NOTE] Only x64 builds are supported due to DirectX 12 limitations.