pub unsafe extern "C" fn GetJitterPhaseCount(
renderWidth: i32,
displayWidth: i32,
) -> i32Expand description
A helper function to calculate the jitter phase count from display resolution.
For more detailed information about the application of camera jitter to
your application’s rendering please refer to the
The table below shows the jitter phase count which this function would return for each of the quality presets.
| Quality preset | Scale factor | Phase count |
|---|---|---|
| 1.5x | 18 | |
| 1.7x | 23 | |
| 2.0x | 32 | |
| 3.0x | 72 | |
| Custom | [1..n]x | ceil(8*n^2) |
@param [in] renderWidth The render resolution width. @param [in] displayWidth The display resolution width.
@returns
The jitter phase count for the scaling factor between
@ingroup FSR2