Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public struct FSRUpscalerCommandInitializationData

Fields

Value

Description

displaySizeHeightHeight of display resolution (post-upscaling).
displaySizeWidthWidth of display resolution (post-upscaling).
ffxFsrFlagsSee FfxApiCreateContextUpscaleFlags.
maxRenderSizeHeightMax height of render resolution (pre-upscaling).
maxRenderSizeWidthMax width of render resolution (pre-upscaling).

Methods

Method

Description

GetFlagGet a bitflag of _ffxFsrFlags.
SetFlagSet a bitflag of _ffxFsrFlags.