SharpNRI.Testing
1.0.0-beta.2
See the version list below for details.
dotnet add package SharpNRI.Testing --version 1.0.0-beta.2
NuGet\Install-Package SharpNRI.Testing -Version 1.0.0-beta.2
<PackageReference Include="SharpNRI.Testing" Version="1.0.0-beta.2" />
<PackageVersion Include="SharpNRI.Testing" Version="1.0.0-beta.2" />
<PackageReference Include="SharpNRI.Testing" />
paket add SharpNRI.Testing --version 1.0.0-beta.2
#r "nuget: SharpNRI.Testing, 1.0.0-beta.2"
#:package [email protected]
#addin nuget:?package=SharpNRI.Testing&version=1.0.0-beta.2&prerelease
#tool nuget:?package=SharpNRI.Testing&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 (>= 1.0.0-beta.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 192.0.0-beta.1 | 55 | 11/12/2026 |
| 191.0.0-beta.4 | 177 | 11/7/2026 |
| 1.0.0-beta.3 | 58 | 11/7/2026 |
| 1.0.0-beta.2 | 57 | 11/7/2026 |