NGX.NET
310.9.16.3
dotnet add package NGX.NET --version 310.9.16.3
NuGet\Install-Package NGX.NET -Version 310.9.16.3
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="NGX.NET" Version="310.9.16.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NGX.NET" Version="310.9.16.3" />
<PackageReference Include="NGX.NET" />
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 NGX.NET --version 310.9.16.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NGX.NET, 310.9.16.3"
#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 NGX.NET@310.9.16.3
#: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=NGX.NET&version=310.9.16.3
#tool nuget:?package=NGX.NET&version=310.9.16.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NGX.NET
Low-level, zero-overhead C# bindings for NVIDIA NGX (DLSS Super Resolution, Ray Reconstruction, and Frame Generation), auto-generated from the official NVIDIA DLSS SDK headers.
Features
- Multi-Backend & Cross-Platform — Covers D3D11, D3D12, Vulkan, and CUDA across
win-x64,win-arm64,linux-x64, andlinux-arm64. - Zero-Overhead Interop —
LibraryImportP/Invokes,readonly structhandles,unmanagedfunction pointers, andReadOnlySpan<byte>parameter keys. - On-Demand Runtime Staging — Ships only the minimal
ngx-bridgelibrary; stage official or local DLSS runtime binaries via<NGXRuntime>. - Native AOT Ready — Built with
IsAotCompatibleand zero external dependencies.
Installation
dotnet add package NGX.NET
Runtime Binaries
Add <NGXRuntime> to your .csproj to stage DLSS runtime libraries (nvngx_dlss* / libnvidia-ngx-dlss*) on build and publish:
<ItemGroup>
<NGXRuntime Include="win-x64" />
</ItemGroup>
Quick Start
using NGX.NET;
using NGXStrings strings = new();
void** paths = strings.AllocWide([Ngx.RuntimeDirectory]);
NGXFeatureCommonInfo commonInfo = new()
{
PathListInfo = new() { Path = paths, Length = 1 }
};
NGXResult result = Ngx.D3D12.Init(applicationId, applicationDataPath, d3d12Device, &commonInfo);
if (Ngx.NVSDK_NGX_FAILED(result))
{
throw new InvalidOperationException(Ngx.GetResultString(result));
}
if (Ngx.NVSDK_NGX_SUCCEED(Ngx.D3D12.GetCapabilityParameters(out NGXParameter parameters)))
{
Ngx.DLSS.GetOptimalSettings(
parameters, targetWidth, targetHeight, NGXPerfQualityValue.MaxQuality,
out uint renderWidth, out uint renderHeight,
out _, out _, out _, out _, out _);
}
Building
dotnet run --project NGX.NET.Generator -- .
dotnet build NGX.NET.slnx -c Release
License
MIT. Official NVIDIA DLSS runtime binaries remain subject to the NVIDIA DLSS SDK License.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
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 |