You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.5 KiB
38 lines
1.5 KiB
using UnityEngine;
|
|
using UnityEngine.Experimental.Rendering;
|
|
using UnityEngine.Rendering;
|
|
using UnityEngine.Rendering.RenderGraphModule;
|
|
#if ENABLE_UPSCALER_FRAMEWORK && ENABLE_NVIDIA && ENABLE_NVIDIA_MODULE
|
|
using UnityEngine.NVIDIA;
|
|
#endif
|
|
using System;
|
|
|
|
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
using UnityEditorInternal;
|
|
#endif
|
|
|
|
#if ENABLE_UPSCALER_FRAMEWORK && ENABLE_NVIDIA && ENABLE_NVIDIA_MODULE
|
|
|
|
[Serializable]
|
|
public class DLSSOptions : UpscalerOptions
|
|
{
|
|
[Tooltip("Selects a performance quality setting for NVIDIA Deep Learning Super Sampling (DLSS).")]
|
|
public DLSSQuality DLSSQualityMode = DLSSQuality.MaximumQuality;
|
|
|
|
[Tooltip("Forces a fixed resolution scale derived from the selected quality mode, ignoring dynamic resolution.")]
|
|
public bool FixedResolutionMode = false;
|
|
|
|
[Tooltip("DLSS will use the specified render preset for the Quality mode.")]
|
|
public DLSSPreset DLSSRenderPresetQuality;
|
|
[Tooltip("DLSS will use the specified render preset for the Balanced mode.")]
|
|
public DLSSPreset DLSSRenderPresetBalanced;
|
|
[Tooltip("DLSS will use the specified render preset for the Performance mode.")]
|
|
public DLSSPreset DLSSRenderPresetPerformance;
|
|
[Tooltip("DLSS will use the specified render preset for the Ultra Performance mode.")]
|
|
public DLSSPreset DLSSRenderPresetUltraPerformance;
|
|
[Tooltip("DLSS will use the specified render preset for the DLAA mode.")]
|
|
public DLSSPreset DLSSRenderPresetDLAA;
|
|
}
|
|
|
|
#endif // ENABLE_UPSCALER_FRAMEWORK && ENABLE_NVIDIA && ENABLE_NVIDIA_MODULE
|