QualityMode

Type Alias QualityMode 

Source
pub type QualityMode = c_int;
Expand description

An enumeration of all the quality modes supported by FidelityFX Super Resolution 2 upscaling.

In order to provide a consistent user experience across multiple applications which implement FSR2. It is strongly recommended that the following preset scaling factors are made available through your application’s user interface.

If your application does not expose the notion of preset scaling factors for upscaling algorithms (perhaps instead implementing a fixed ratio which is immutable) or implementing a more dynamic scaling scheme (such as dynamic resolution scaling), then there is no need to use these presets.

Please note that FFX_FSR2_QUALITY_MODE_ULTRA_PERFORMANCE is an optional mode which may introduce significant quality degradation in the final image. As such it is recommended that you evaluate the final results of using this scaling mode before deciding if you should include it in your application.

@ingroup FSR2