Skip to main content

Crate nvidia_dlss

Crate nvidia_dlss 

Source
Expand description

Vulkan DLSS Ray Reconstruction bindings through NGX.

Use Ngx::native_backend_available to check whether the native backend was built and Ngx::staged_runtime_dir to locate its staged runtime before creating a context.

Structs§

DlssRrConfig
Conventions copied at initialization; changing them requires shutdown and reinitialization. Dimensions and quality may still change between completed evaluations, recreating the feature.
DlssRrFrameConstants
DlssRrResources
Images for NGX evaluation. All inputs, including depth and the reflection guide, must be in SHADER_READ_ONLY_OPTIMAL; the output must be in GENERAL. Evaluation validates the declared layouts but does not record layout transitions. All inputs require SAMPLED usage; output requires STORAGE. Depth, albedos, packed normal/roughness and either reflection guide must match input color dimensions. Primary motion must match the configured render or output resolution.
Evaluator
Identity
InitInfo
Ngx
VulkanImage
VulkanInitInfo
Borrowed Vulkan handles and entrypoints used to initialize NGX without a graph device.

Enums§

DlssRrColor
Color encoding fixed for the lifetime of an initialized evaluator.
DlssRrDepth
DlssRrMotionResolution
Resolution of the primary motion field, not the reflection guide.
DlssRrQuality
ReflectionGuide

Constants§

DLSS_RUNTIME_FILE
SDK_VERSION