Pass

Type Alias Pass 

Source
pub type Pass = c_int;
Expand description

An enumeration of all the passes which constitute the FSR2 algorithm.

FSR2 is implemented as a composite of several compute passes each computing a key part of the final result. Each call to the FfxFsr2ScheduleGpuJobFunc callback function will correspond to a single pass included in FfxFsr2Pass. For a more comprehensive description of each pass, please refer to the FSR2 reference documentation.

Please note in some cases e.g.: FFX_FSR2_PASS_ACCUMULATE and FFX_FSR2_PASS_ACCUMULATE_SHARPEN either one pass or the other will be used (they are mutually exclusive). The choice of which will depend on the way the FfxFsr2Context is created and the precise contents of FfxFsr2DispatchParamters each time a call is made to ffxFsr2ContextDispatch.

@ingroup FSR2