FSRUpscalerCommandInitializationData
Represents the initialization state of a FSRUpscalerContext. You can only use and set this when calling GraphicsDevice.CreateFSRUpscale3 or GraphicsDevice.CreateFSRUpscale4.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
public struct FSRUpscalerCommandInitializationData
Fields
Value | Description |
|---|---|
| displaySizeHeight | Height of display resolution (post-upscaling). |
| displaySizeWidth | Width of display resolution (post-upscaling). |
| ffxFsrFlags | See FfxApiCreateContextUpscaleFlags. |
| maxRenderSizeHeight | Max height of render resolution (pre-upscaling). |
| maxRenderSizeWidth | Max width of render resolution (pre-upscaling). |
Methods
Method | Description |
|---|---|
| GetFlag | Get a bitflag of _ffxFsrFlags. |
| SetFlag | Set a bitflag of _ffxFsrFlags. |