Struct GlobalDynamicResolutionSettings
User-facing settings for dynamic resolution.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public struct GlobalDynamicResolutionSettings
Fields
Name | Description |
---|---|
DLSSInjectionPoint | The injection point at which to apply DLSS upscaling. |
DLSSPerfQualitySetting | Opaque quality setting of NVIDIA Deep Learning Super Sampling (DLSS). Use the system enum UnityEngine.NVIDIA.DLSSQuality to set the quality. |
DLSSSharpness | Pixel sharpness of NVIDIA Deep Leraning Super Sampling (DLSS). |
DLSSUseOptimalSettings | Toggle NVIDIA Deep Learning Super Sampling (DLSS) automatic recommendation system for scaling and sharpness. If this is on, the manually established scale callback for Dynamic Resolution Scaling is ignored. The sharpness setting of DLSS is also ignored. |
dynResType | The type of dynamic resolution method. |
enableDLSS | Toggle NVIDIA Deep Learning Super Sampling (DLSS). |
enabled | Select whether the dynamic resolution is enabled or not. |
forceResolution | Select whether dynamic resolution system will force a specific resolution percentage. |
forcedPercentage | The resolution percentage forced in case forceResolution is set to true. |
fsrOverrideSharpness | Toggle sharpness override for AMD FidelityFX Super Resolution (FSR). If this is on, a sharpness value specified by the user will be used instead of the default. |
fsrSharpness | Pixel sharpness of AMD FidelityFX Super Resolution (FSR). |
lowResTransparencyMinimumThreshold | The minimum percentage threshold allowed to clamp low resolution transparency. When the resolution percentage falls below this threshold, HDRP will clamp the low resolution to this percentage. |
maxPercentage | The maximum resolution percentage that dynamic resolution can reach. |
minPercentage | The minimum resolution percentage that dynamic resolution can reach. |
rayTracingHalfResThreshold | The minimum percentage threshold allowed to render ray tracing effects at half resolution. When the resolution percentage falls below this threshold, HDRP will render ray tracing effects at full resolution. |
upsampleFilter | The default of upscaling filter used. It can be overridden via the API DynamicResolutionHandler.SetUpscaleFilter |
useMipBias | Offsets the mip bias to recover mode detail. This only works if the camera is utilizing TAA. |
Methods
Name | Description |
---|---|
NewDefault() | Default GlobalDynamicResolutionSettings |