SharpNRI 1.0.0-beta.2
See the version list below for details.
dotnet add package SharpNRI --version 1.0.0-beta.2
NuGet\Install-Package SharpNRI -Version 1.0.0-beta.2
<PackageReference Include="SharpNRI" Version="1.0.0-beta.2" />
<PackageVersion Include="SharpNRI" Version="1.0.0-beta.2" />
<PackageReference Include="SharpNRI" />
paket add SharpNRI --version 1.0.0-beta.2
#r "nuget: SharpNRI, 1.0.0-beta.2"
#:package [email protected]
#addin nuget:?package=SharpNRI&version=1.0.0-beta.2&prerelease
#tool nuget:?package=SharpNRI&version=1.0.0-beta.2&prerelease
SharpNRI
C# bindings for NRI, the NVIDIA Render Interface: one low-level API over Vulkan and D3D12. NRI is explicit, with no hidden management and no automatic barriers, and SharpNRI keeps it that way: NRI's objects become disposable classes, its descs are structs with NRI's field names, and its threading rules are documented rather than hidden.
An independent project, not affiliated with NVIDIA. MIT licensed. Beta: the API may still change between releases. Each release pins one NRI release.
using SharpNRI;
using SharpNRI.Native;
using var device = NriDevice.Create(new NriDeviceOptions
{
GraphicsApi = GraphicsAPI.D3D12, // or VK, or NONE
EnableNriValidation = true,
EnableGraphicsApiValidation = true,
MessageHandler = (in NriMessage m) => Console.Error.WriteLine(m),
});
var queue = device.GetQueue(QueueType.GRAPHICS);
| Package | What it is |
|---|---|
SharpNRI |
the binding and the native NRI library (Windows x64, Linux x64) |
SharpNRI.Descs |
every NRI enum and desc struct, with no native code |
SharpNRI.Testing |
a validated headless device per backend, for your own GPU tests |
SharpNRI.Native.Upscalers |
NRI built with NIS, FSR and XeSS, replacing the library in SharpNRI: reference it with ExcludeAssets="native" on SharpNRI |
No package ships a vendor upscaler runtime or Microsoft's Agility SDK. The guide covers how an application adds them, and everything else: device creation, resources, descriptors, recording and submitting, every extension, and the caveats.
Windows x64 (D3D12, Vulkan; needs the Visual C++ 2015-2022 runtime), Linux x64 (Vulkan; needs the Vulkan loader). .NET 11.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- SharpNRI.Descs (>= 1.0.0-beta.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SharpNRI:
| Package | Downloads |
|---|---|
|
SharpNRI.Testing
A headless, validated NRI device for tests: Vulkan, D3D12 or NRI's NONE backend with NRI validation and the backend validation layer on, messages captured, software adapters under CI, and skip reasons when a backend is absent. For projects that build on SharpNRI. |
|
|
SharpNRI.Native.Upscalers
NRI native library for SharpNRI with the NIS, FSR and XeSS upscalers compiled in. Replaces the NRI library of the SharpNRI package, which it depends on at the same version: reference this package alone. Vendor runtimes (FidelityFX, XeSS) are not included: the application ships them. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 192.0.0-beta.1 | 68 | 11/12/2026 |
| 191.0.0-beta.4 | 189 | 11/7/2026 |
| 1.0.0-beta.3 | 72 | 11/7/2026 |
| 1.0.0-beta.2 | 74 | 11/7/2026 |