PhantomRender Project Templates
PhantomRender Project Templates adds ready-to-use Visual Studio project templates for building, debugging, and publishing PhantomRender-based overlay hosts.
The extension currently includes two templates:
- PhantomRender NativeAOT Overlay Host
- PhantomRender .NET Framework Overlay Host
What you get
Each template creates a project that is already prepared to work with:
PhantomRender
PhantomRender.ImGui
The generated projects include:
- a console entrypoint so the project can be debugged immediately after creation
- the internal injection entrypoint required for injected host scenarios
- publish batch files for
x64 and x86
- runtime dependency copy logic for ImGui native binaries
The .NET Framework template also includes:
- a Hydra preset JSON file for managed injection workflows
Included templates
PhantomRender NativeAOT Overlay Host
Creates a .NET 9 NativeAOT host project for PhantomRender overlays.
Use this template when you want:
- a modern NativeAOT-based host
- a console project for fast local debugging
- publish scripts that generate an injectable DLL for
x64 or x86
PhantomRender .NET Framework Overlay Host
Creates a .NET Framework 4.8 host project for PhantomRender overlays.
Use this template when you want:
- a managed CLR-based host
- a console project for immediate debugging after project creation
- classic managed injection workflows
- Hydra-based packaging support
Typical workflow
- Create a project from one of the PhantomRender templates.
- Run it as a console app to debug the sample UI and overlay logic.
- Use the included batch files to build or publish the injectable DLL version.
- Inject the generated DLL into the target process with your preferred loader.
Graphics API support
PhantomRender is designed for Windows graphics APIs including:
- DirectX 9
- DirectX 10
- DirectX 11
- DirectX 12
- OpenGL
- Vulkan work in progress
Repository
Source code, documentation, and updates are available here:
https://github.com/DestroyerDarkNess/PhantomRender
License
PhantomRender is released under the MIT License.