Skip to content

Draws graphics using OpenGL SkiaSharp on a transparent window for a target process. Native AOT publish compatible.

License

Notifications You must be signed in to change notification settings

Joey0x646576/OverlaySharp

Repository files navigation

OverlaySharp

GitHub Release GitHub License .NET Platform Language Build Status NuGet NuGet Downloads Last Commit

image 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).

Features

  • 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.

NuGet

.NET CLI

dotnet add package OverlaySharp

Package Reference

<PackageReference Include="OverlaySharp" Version="1.0.0" />

Requirements

  • .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.

Examples

See the sample project.

public class YourClass(nint targetWindowHandle) : OverlayWindow(targetWindowHandle)
{
    public override void Renderer(IGraphics graphics)
    {
      // Perform drawing operations through IGraphics here...
    }
}

Contributing

Feel free to contribute! 🥸

Acknowledgments

About

Draws graphics using OpenGL SkiaSharp on a transparent window for a target process. Native AOT publish compatible.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages