A high-performance .NET library for creating transparent window overlays on a target process using OpenGL and SkiaSharp.
Fully compatible to be published as Native AOT(Windows).
- Create a transparent window overlay on a target processes
- Hardware-accelerated rendering using OpenGL
- High-performance graphics with SkiaSharp
- Native AOT (Ahead of Time) compilation support
- Windows platform support
- Basic drawing of various shapes, images and text.
dotnet add package OverlaySharp
<PackageReference Include="OverlaySharp" Version="1.0.0" />
- .NET 8
- A Windows environment
- A functioning OpenGL driver
- This means you need a GPU - e.g. an integrated GPU (Intel), an NVIDIA GPU or AMD GPU, all of which should support OpenGL.
See the sample project.
public class YourClass(nint targetWindowHandle) : OverlayWindow(targetWindowHandle)
{
public override void Renderer(IGraphics graphics)
{
// Perform drawing operations through IGraphics here...
}
}
Feel free to contribute! 🥸