Class AdaptivePerformanceRenderSettings
This class is used to store changes to a number of rendering quality settings that are applied when using the Universal Render Pipeline.
Namespace: UnityEngine.AdaptivePerformance
Syntax
public static class AdaptivePerformanceRenderSettings
Properties
AntiAliasingQualityBias
Adjust the quality of MSAA.
Declaration
public static int AntiAliasingQualityBias { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
LutBias
Adjust the size of lookup tables that are used for color grading.
Declaration
public static float LutBias { get; set; }
Property Value
Type | Description |
---|---|
Single |
MainLightShadowCascadesCountBias
Adjust the number of shadow cascades for the main camera in the scene.
Declaration
public static int MainLightShadowCascadesCountBias { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MainLightShadowmapResolutionMultiplier
Amount to multiply the main lights shadowmap resolution. Values are clamped between 0 and 1.
Declaration
public static float MainLightShadowmapResolutionMultiplier { get; set; }
Property Value
Type | Description |
---|---|
Single |
MaxShadowDistanceMultiplier
Adjust how far in the distance shadows will be rendered. Values are clamped between 0 and 1.
Declaration
public static float MaxShadowDistanceMultiplier { get; set; }
Property Value
Type | Description |
---|---|
Single |
RenderScaleMultiplier
Lower the resolution of the main camera to reduce fillrate and GPU load.
Declaration
public static float RenderScaleMultiplier { get; set; }
Property Value
Type | Description |
---|---|
Single |
ShadowQualityBias
Adjust the quality setting of shadows.
Declaration
public static int ShadowQualityBias { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
SkipDynamicBatching
Whether dynamic batching should be used when rendering multiple objects that share the same material. Useful on hardware that does not support instancing.
Declaration
public static bool SkipDynamicBatching { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
SkipFrontToBackSorting
Whether depth-based sorting should be enabled. When enabled, there is a higher load on the CPU but less rendering overdraw. When disabled, there is less CPU pressure but more overdraw.
Declaration
public static bool SkipFrontToBackSorting { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
SkipTransparentObjects
Whether transparent objects should be rendered When enabled, there is less rendering overdraw, but entire objects can disappear.
Declaration
public static bool SkipTransparentObjects { get; set; }
Property Value
Type | Description |
---|---|
Boolean |