Skip to content

DiligentGraphics/DLSS-Headers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DLSS-Headers

NVIDIA DLSS SDK headers, NGX loader library, and runtime binaries for DLSS — Deep Learning Super Sampling, Ray Reconstruction, and Frame Generation.

Contents

include/
  nvsdk_ngx.h              # Core NGX API
  nvsdk_ngx_defs.h          # Result codes, feature enums
  nvsdk_ngx_params.h        # Parameter interface
  nvsdk_ngx_helpers.h       # D3D11/D3D12 helpers
  nvsdk_ngx_vk.h            # Vulkan API bindings
  nvsdk_ngx_helpers_vk.h    # Vulkan helpers
  nvsdk_ngx_*_dlssd.*       # DLSS Ray Reconstruction
  nvsdk_ngx_*_dlssg.*       # DLSS Frame Generation
lib/
  nvsdk_ngx_d.lib           # NGX loader (dynamic CRT)
  nvsdk_ngx_d_dbg.lib       # NGX loader (dynamic CRT, debug)
bin/
  x64/
    dev/
      nvngx_dlss.dll        # DLSS runtime (development)
    rel/
      nvngx_dlss.dll        # DLSS runtime (release)

CMake Integration

With FetchContent (recommended)

include(FetchContent)
FetchContent_Declare(DLSS-Headers
    GIT_REPOSITORY git@github.com:MikhailGorobets/DLSS-Headers.git
    GIT_TAG        main
)
FetchContent_MakeAvailable(DLSS-Headers)

As a subdirectory

add_subdirectory(DLSS-Headers)

Usage

This package provides three components:

Component Type Purpose
DLSS-Headers INTERFACE library Adds include/ to the include path, providing DLSS / NGX headers
DLSS-NGX IMPORTED STATIC library Links the NGX SDK loader (nvsdk_ngx_d.lib)
copy_dlss_dlls() CMake function Copies DLSS runtime DLLs next to the target executable

Cache Variables

Variable Default Description
DLSS_BUILD_VARIANT rel Build variant: dev (development) or rel (release)

Complete minimal example

cmake_minimum_required(VERSION 3.11)
project(MyApp CXX)

include(FetchContent)
FetchContent_Declare(DLSS-Headers
    GIT_REPOSITORY git@github.com:MikhailGorobets/DLSS-Headers.git
    GIT_TAG        main
)
FetchContent_MakeAvailable(DLSS-Headers)

add_executable(MyApp main.cpp)
target_link_libraries(MyApp PRIVATE DLSS-Headers DLSS-NGX)
copy_dlss_dlls(MyApp)

License

This repository uses a dual license model — see LICENSE.txt for full details:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 89.1%
  • C++ 10.3%
  • CMake 0.6%