NGX.NET
310.9.16
See the version list below for details.
dotnet add package NGX.NET --version 310.9.16
NuGet\Install-Package NGX.NET -Version 310.9.16
<PackageReference Include="NGX.NET" Version="310.9.16" />
<PackageVersion Include="NGX.NET" Version="310.9.16" />
<PackageReference Include="NGX.NET" />
paket add NGX.NET --version 310.9.16
#r "nuget: NGX.NET, 310.9.16"
#:package NGX.NET@310.9.16
#addin nuget:?package=NGX.NET&version=310.9.16
#tool nuget:?package=NGX.NET&version=310.9.16
NGX.NET
C# bindings for NVIDIA NGX, including DLSS Super Resolution, Ray Reconstruction and Frame Generation.
Installation
dotnet add package NGX.NET
Requires .NET 10. Native binaries are included for Windows and Linux on x64 and ARM64. DLSS availability depends on the GPU and driver.
Usage
Use Ngx.D3D11, Ngx.D3D12, Ngx.Vulkan or Ngx.CUDA to call NGX. The bindings preserve native signatures and result codes, with convenience overloads for strings and in/ref/out parameters.
See the Showcase for a complete DirectX 12 and Vulkan integration.
- Add
Ngx.RuntimeDirectoryto NGX's initialization search paths to load the bundled feature libraries. - Check results with
Ngx.NVSDK_NGX_SUCCEEDorNgx.NVSDK_NGX_FAILEDbefore reading outputs. - Use
new()for SDK structure defaults;defaultproduces zero-initialized data. - Keep GPU resources, callbacks and native addresses valid while NGX uses them. Pin managed data when NGX retains its address across calls.
- Use
NGXStringsfor stable native strings. String overloads allocate temporary strings for each call. - Release features, destroy parameter tables and shut down NGX explicitly. Copying handles or structures does not transfer ownership.
Updating
Run Update NGX in GitHub Actions to update the SDK, native binaries and generated bindings. It validates all four targets before committing the update and deletes temporary artifacts when finished.
To regenerate bindings from the checked-in AST:
dotnet run --project NGX.NET.Generator -- .
dotnet build NGX.NET.slnx -c Release --warnaserror
License
Bindings and build tooling: MIT. Bundled NVIDIA components retain their NVIDIA SDK terms.
| Product | Versions 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. |
-
net10.0
- No dependencies.
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 |
|---|---|---|
| 310.9.16.3 | 67 | 11/25/2026 |
| 310.9.16.2 | 61 | 11/25/2026 |
| 310.9.16.1 | 57 | 11/25/2026 |
| 310.9.16 | 217 | 10/17/2026 |
| 310.9.1.2 | 162 | 10/14/2026 |
| 310.9.1.1 | 157 | 10/13/2026 |
| 310.9.1 | 192 | 10/1/2026 |