Zenith.NET

Unified Cross-Platform GPU Programming for .NET

A modern graphics and compute library that provides a single API for DirectX 12, Metal, and Vulkan. Build high-performance rendering and GPU compute applications with ease.

GitHub Stars NuGet Version License

Graphics APIs DirectX 12 · Metal · Vulkan
Platforms Windows · Linux · macOS · iOS · Android

Why Zenith.NET?

🎯
Unified API — Write once, run everywhere. A single API abstracts DirectX 12, Metal, and Vulkan.
High Performance — Direct access to ray tracing, mesh shading, and compute pipelines.
🔌
Framework Integration — Works with Avalonia, MAUI, WinForms, WinUI, WPF, and Uno Platform.
🚀
Modern .NET — Built for .NET 10.0+ with nullable types, spans, and the latest C# features.

GPU Features at a Glance

Graphics Pipeline Vertex, hull, domain, geometry, and pixel shaders with custom render states.
Compute Pipeline General-purpose GPU computing for image processing, simulations, and more.
Ray Tracing Hardware-accelerated BLAS/TLAS, hit groups, and inline ray queries.
Mesh Shading GPU-driven geometry with mesh and amplification shaders for meshlet processing.

How It Works

1

Initialize

Create a graphics context with your preferred backend (DirectX 12, Metal, or Vulkan).

2

Create Resources

Define buffers, textures, shaders, and pipelines.

3

Record Commands

Build command buffers with draw, compute, or ray tracing calls.

4

Submit & Present

Execute on GPU and present to screen or export to textures.


Get Started

Ready to build?

Follow our step-by-step tutorials from Hello Triangle to advanced ray tracing and mesh shading.

Start Learning →