Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRenderResolutionFromQualityModeFSR4(FSR4Quality, uint, uint, out uint, out uint)

Queries the resolution configuration from a specified quality mode preset.
Read time 1 minuteLast updated 6 days ago

Definition

GetRenderResolutionFromQualityModeFSR4(FSR4Quality, uint, uint, uint, uint)

public bool GetRenderResolutionFromQualityModeFSR4(FSR4Quality qualityMode, uint displayWidth, uint displayHeight, out uint renderWidth, out uint renderHeight)

Parameters

qualityMode

The input quality mode. See FSR4Quality for the list of quality modes.

displayWidth

The input display resolution width.

displayHeight

The input display resolution height.

renderWidth

The output resolution width calculated.

renderHeight

The output resolution height calculated.

Returns

Type

Description

boolReturns true on success. False otherwise.