FSR2CommandInitializationData
Represents the initialization state of a FSR2Context. You can only use and set this when calling GraphicsDevice.CreateFSRUpscale2.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
public struct FSR2CommandInitializationData
Fields
Value | Description |
|---|---|
| displaySizeHeight | The height of the presentation resolution targeted by the upscaling process. |
| displaySizeWidth | The width of the presentation resolution targeted by the upscaling process. |
| ffxFsrFlags | Initialization flags. |
| maxRenderSizeHeight | The maximum height that rendering will be performed at. |
| maxRenderSizeWidth | The maximum width that rendering will be performed at. |
Methods
Method | Description |
|---|---|
| GetFlag | Helper function. Identifies whether an initialization flag is set or unset. See Also: FfxFsr2InitializationFlags. |
| SetFlag | Helper function. Controls the initialization feature flags set. See Also: FfxFsr2InitializationFlags. |