Represents the state of a FSR2Context. If you call Device.ExecuteFSR2, Unity sends the values in this struct to the runtime. After this, you can change the values in this struct without any side effects.
cameraFar | The distance to the far plane of the camera. |
cameraFovAngleVertical | The camera angle field of view in the vertical direction (expressed in radians). |
cameraNear | The distance to the near plane of the camera. |
enableSharpening | Enable an additional sharpening pass. |
frameTimeDelta | The time elapsed since the last frame (expressed in milliseconds). |
jitterOffsetX | The subpixel jitter offset applied to the camera (X axis). |
jitterOffsetY | The subpixel jitter offset applied to the camera (Y axis). |
MVScaleX | The scale factor to apply to motion vectors (X axis). |
MVScaleY | The scale factor to apply to motion vectors (Y axis). |
preExposure | The pre exposure value (must be > 0.0f). |
renderSizeHeight | The height resolution that was used for rendering the input resources. |
renderSizeWidth | The width resolution that was used for rendering the input resources. |
reset | A boolean value which when set to true, indicates the camera has moved discontinuously. |
sharpness | The sharpness value between 0 and 1, where 0 is no additional sharpness and 1 is maximum additional sharpness. |