Struct GlobalDynamicResolutionSettings
User-facing settings for dynamic resolution.
Namespace: UnityEngine.Rendering
Syntax
[Serializable]
public struct GlobalDynamicResolutionSettings
Fields
dynResType
The type of dynamic resolution method.
Declaration
public DynamicResolutionType dynResType
Field Value
Type | Description |
---|---|
DynamicResolutionType |
enabled
Select whether the dynamic resolution is enabled or not.
Declaration
public bool enabled
Field Value
Type | Description |
---|---|
Boolean |
forcedPercentage
The resolution percentage forced in case forceResolution is set to true.
Declaration
public float forcedPercentage
Field Value
Type | Description |
---|---|
Single |
forceResolution
Select whether dynamic resolution system will force a specific resolution percentage.
Declaration
public bool forceResolution
Field Value
Type | Description |
---|---|
Boolean |
maxPercentage
The maximum resolution percentage that dynamic resolution can reach.
Declaration
public float maxPercentage
Field Value
Type | Description |
---|---|
Single |
minPercentage
The minimum resolution percentage that dynamic resolution can reach.
Declaration
public float minPercentage
Field Value
Type | Description |
---|---|
Single |
upsampleFilter
The type of upscaling filter to use.
Declaration
public DynamicResUpscaleFilter upsampleFilter
Field Value
Type | Description |
---|---|
DynamicResUpscaleFilter |
Methods
NewDefault()
Default GlobalDynamicResolutionSettings
Declaration
public static GlobalDynamicResolutionSettings NewDefault()
Returns
Type | Description |
---|---|
GlobalDynamicResolutionSettings |