Ahjo.Vulkan.Ngx.Native 0.18.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Ahjo.Vulkan.Ngx.Native --version 0.18.0
                    
NuGet\Install-Package Ahjo.Vulkan.Ngx.Native -Version 0.18.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="Ahjo.Vulkan.Ngx.Native" Version="0.18.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ahjo.Vulkan.Ngx.Native" Version="0.18.0" />
                    
Directory.Packages.props
<PackageReference Include="Ahjo.Vulkan.Ngx.Native" />
                    
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 Ahjo.Vulkan.Ngx.Native --version 0.18.0
                    
#r "nuget: Ahjo.Vulkan.Ngx.Native, 0.18.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 Ahjo.Vulkan.Ngx.Native@0.18.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=Ahjo.Vulkan.Ngx.Native&version=0.18.0
                    
Install as a Cake Addin
#tool nuget:?package=Ahjo.Vulkan.Ngx.Native&version=0.18.0
                    
Install as a Cake Tool

Ahjo.Vulkan.Ngx.Native

Raw P/Invoke bindings over NVIDIA's NGX (DLSS) Vulkan C API, for .NET 11.

This package does not contain DLSS

It contains no feature DLL. nvngx_dlss.dll (Windows) and libnvidia-ngx-dlss.so.<version> (Linux) are NVIDIA's, are covered by the NVIDIA RTX SDKs licence, and are yours to ship: download them from NVIDIA/DLSS and place the file beside your application's executable. Without it, feature creation fails at runtime with NVSDK_NGX_Result_FAIL_UnableToInitializeFeature — the bindings load and the shim runs, but there is nothing for NGX to load.

Three things follow from that, and they are the consumer's responsibility, not this package's:

  • Ship the rel/ build, never the dev/ build. The dev/ feature DLL carries an on-screen debug watermark and must never be redistributed.
  • The obligations in NGX-LICENSE.txt are yours. That file is packed at the root of this nupkg so it travels with the code, but accepting it is a decision you make when you ship the feature DLL.
  • NVIDIA hardware and driver required. DLSS runs inside the display driver. There is no fallback path and no software implementation.

What the package does contain

Managed bindings 27 DllImports + the NGX enums, structs and 204 UTF-8 parameter-name constants
runtimes/win-x64/native/ahjo_ngx.dll the shim, built from native/ngx/src/
runtimes/linux-x64/native/libahjo_ngx.so same, for Linux
NGX-LICENSE.txt NVIDIA RTX SDKs licence text

The shim exists because NVIDIA ships NGX as a static client library with no DLL to P/Invoke. ahjo_ngx links that archive and re-exports 20 of its symbols verbatim, plus 7 ahjo_ngx_* additions that replace the entry points taking wchar_t — whose width differs between Windows and Linux — with UTF-8 equivalents. Nothing wide crosses into managed code.

Only win-x64 and linux-x64 exist: those are the only platforms NVIDIA publishes NGX libraries for.

Status

This is the raw binding layer. The idiomatic wrapper (NgxContext, DlssFeature, and the render-loop integration) is a later phase; see issue #214.

Part of Ahjo.Vulkan. MIT licensed — which covers this package's own code, not NVIDIA's binaries.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ahjo.Vulkan.Ngx.Native:

Package Downloads
Ahjo.Vulkan.Ngx

NVIDIA DLSS Super Resolution and DLAA for Ahjo.Vulkan, over the pinned NGX SDK (v310.9.16). The DLSS feature DLL (nvngx_dlss.dll / libnvidia-ngx-dlss.so) is NOT included and must be supplied by the application from NVIDIA; see the package README for the licence obligations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.18.1-alpha.0.2 74 11/13/2026
0.18.1-alpha.0.1 62 11/13/2026
0.18.0 119 11/13/2026
0.17.1-alpha.0.17 66 11/13/2026
0.17.1-alpha.0.16 70 11/13/2026
0.17.1-alpha.0.15 64 11/13/2026
0.17.1-alpha.0.14 58 11/13/2026
0.17.1-alpha.0.13 69 11/13/2026
0.17.1-alpha.0.12 62 11/13/2026
0.17.1-alpha.0.11 64 11/13/2026
0.17.1-alpha.0.10 59 11/13/2026
0.17.1-alpha.0.9 60 11/9/2026
0.17.1-alpha.0.8 66 11/6/2026
0.17.1-alpha.0.7 68 11/6/2026
0.17.1-alpha.0.6 63 11/6/2026
0.17.1-alpha.0.5 67 11/6/2026
0.17.1-alpha.0.4 61 11/6/2026
0.17.1-alpha.0.3 60 11/6/2026
0.17.1-alpha.0.2 57 11/6/2026
0.17.1-alpha.0.1 66 11/6/2026
Loading failed