GetRenderResolutionFromQualityMode(FSR2Quality, uint, uint, out uint, out uint)
Queries the resolution configuration from a specified quality mode preset.
阅读时间1 分钟最后更新于 2 小时前
Definition
- Type: Method
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
GetRenderResolutionFromQualityMode(FSR2Quality, uint, uint, uint, uint)
public bool GetRenderResolutionFromQualityMode(FSR2Quality qualityMode, uint displayWidth, uint displayHeight, out uint renderWidth, out uint renderHeight)
Parameters
The input quality mode. See FSR2Quality for the list of quality modes.
The input display resolution width.
The input display resolution height.
The output resolution width calculated.
The output resolution height calculated.
Returns
Type | Description |
|---|---|
| bool | Returns true on success. False otherwise. |