Skip to content

Commit 5a6d951

Browse files
committed
Fix docs for LowResolutionMotionVectors
1 parent dcec38f commit 5a6d951

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/nvsdk_ngx.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,12 @@ bitflags::bitflags! {
7171
pub struct DlssFeatureFlags: NVSDK_NGX_DLSS_Feature_Flags {
7272
/// Use an HDR texture for [`crate::DlssRenderParameters::color`] instead of an SDR texture.
7373
const HighDynamicRange = NVSDK_NGX_DLSS_Feature_Flags_NVSDK_NGX_DLSS_Feature_Flags_IsHDR;
74-
/// Motion vector values in [`crate::DlssRenderParameters::motion_vectors`] are at the upscaled resolution,
75-
/// instead of render resolution.
74+
/// Motion vector values in [`crate::DlssRenderParameters::motion_vectors`] are at the render resolution.
75+
///
76+
/// Not setting this flag indicates that the motion vectors are at the upscaled resolution and have already been dilated,
77+
/// which can lead to higher quality.
78+
///
79+
/// Most renderers will want to use this flag.
7680
const LowResolutionMotionVectors = NVSDK_NGX_DLSS_Feature_Flags_NVSDK_NGX_DLSS_Feature_Flags_MVLowRes;
7781
/// Motion vector values in [`crate::DlssRenderParameters::motion_vectors`] contain jitter.
7882
const JitteredMotionVectors = NVSDK_NGX_DLSS_Feature_Flags_NVSDK_NGX_DLSS_Feature_Flags_MVJittered;

0 commit comments

Comments
 (0)