Zenith.NET 1.1.0

dotnet add package Zenith.NET --version 1.1.0
                    
NuGet\Install-Package Zenith.NET -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Zenith.NET" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zenith.NET" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Zenith.NET" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Zenith.NET --version 1.1.0
                    
#r "nuget: Zenith.NET, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Zenith.NET@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Zenith.NET&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Zenith.NET&version=1.1.0
                    
Install as a Cake Tool

<p align="center"> <img src="https://raw.githubusercontent.com/qian-o/Zenith.NET/master/documents/images/Zenith.NET.png" alt="Zenith.NET icon" width="128" height="128"> </p>

<h1 align="center">Zenith.NET</h1>

<p align="center"> Cross-platform graphics for .NET </p>

<p align="center"> <a href="https://www.nuget.org/packages/Zenith.NET"><img src="https://img.shields.io/nuget/v/Zenith.NET?label=stable" alt="NuGet stable version"></a> <a href="https://www.nuget.org/packages/Zenith.NET?prerelease=true"><img src="https://img.shields.io/nuget/vpre/Zenith.NET?label=prerelease" alt="NuGet prerelease version"></a> <a href="https://github.com/qian-o/Zenith.NET/actions/workflows/continuous-integration.yml"><img src="https://github.com/qian-o/Zenith.NET/actions/workflows/continuous-integration.yml/badge.svg?branch=master" alt="Continuous Integration status"></a> </p>

<p align="center"> <a href="https://qian-o.github.io/Zenith.NET/">Documentation</a> · <a href="https://qian-o.github.io/Zenith.NET/learn/samples.html">Samples</a> · <a href="https://qian-o.github.io/Zenith.NET/api/">API Reference</a> · <a href="https://www.nuget.org/packages/Zenith.NET">NuGet</a> </p>

Zenith.NET is a rendering hardware interface (RHI) for .NET, with a shared C# API for graphics and compute across DirectX 12, Metal 4, and Vulkan 1.4.

Features

  • Create buffers, textures, views, heaps, and pipelines for graphics and compute through the shared API.
  • Record graphics, compute, and transfer work in command buffers. Use barriers and texture transitions to order dependent accesses, and timelines to coordinate queue submissions.
  • Compile Slang shaders for the selected graphics API with Zenith.NET.Compiler.
  • Use ray queries and mesh shading when the device reports support.
  • Present through native swap chains or optional UI rendering controls.

Getting started

Follow First Triangle to create a .NET 10 console application and draw your first triangle.

Continue with Learn for the core concepts, or browse Samples for graphics and compute examples.

Packages

Graphics packages

Package Purpose
Zenith.NET Shared graphics and compute API.
Zenith.NET.Compiler Compiles Slang shaders for the selected graphics API.
Zenith.NET.DirectX12 DirectX 12 implementation of the shared API.
Zenith.NET.Metal Metal 4 implementation of the shared API.
Zenith.NET.Vulkan Vulkan 1.4 implementation of the shared API.

Extensions

Package Purpose
Zenith.NET.Extensions.ImageSharp Loads images into GPU textures using ImageSharp.
Zenith.NET.Extensions.ImGui Dear ImGui rendering and input integration.
Zenith.NET.Extensions.Skia SkiaSharp drawing on GPU textures.
Zenith.NET.Extensions.Upscaling Spatial and temporal image upscaling.

UI integrations

Package Purpose
Zenith.NET.Views Shared interfaces and frame events for rendering controls.
Zenith.NET.Views.Avalonia Avalonia rendering control.
Zenith.NET.Views.Maui .NET MAUI rendering control.
Zenith.NET.Views.WinForms Windows Forms rendering control.
Zenith.NET.Views.WinUI WinUI and Uno Platform rendering control.
Zenith.NET.Views.WPF WPF rendering control.

Questions

Ask usage questions in GitHub Discussions.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on Zenith.NET:

Package Downloads
Zenith.NET.Views

A cross-platform rendering hardware interface for .NET with a shared C# API for graphics and compute across DirectX 12, Metal 4, and Vulkan 1.4.

Zenith.NET.DirectX12

A cross-platform rendering hardware interface for .NET with a shared C# API for graphics and compute across DirectX 12, Metal 4, and Vulkan 1.4.

Zenith.NET.Metal

A cross-platform rendering hardware interface for .NET with a shared C# API for graphics and compute across DirectX 12, Metal 4, and Vulkan 1.4.

Zenith.NET.Vulkan

A cross-platform rendering hardware interface for .NET with a shared C# API for graphics and compute across DirectX 12, Metal 4, and Vulkan 1.4.

Zenith.NET.Extensions.ImageSharp

A cross-platform rendering hardware interface for .NET with a shared C# API for graphics and compute across DirectX 12, Metal 4, and Vulkan 1.4.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 100 9/23/2026
1.1.0-alpha 183 9/17/2026
1.0.0 286 8/5/2026
1.0.0-rc 247 7/29/2026
0.0.8 250 4/7/2026
0.0.7 214 4/1/2026
0.0.6 289 2/16/2026
0.0.5 281 1/31/2026
0.0.4 225 1/19/2026
0.0.3 226 1/12/2026
0.0.2 223 1/4/2026
0.0.1 219 1/4/2026