Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public struct FSR2CommandInitializationData

Fields

Value

Description

displaySizeHeightThe height of the presentation resolution targeted by the upscaling process.
displaySizeWidthThe width of the presentation resolution targeted by the upscaling process.
ffxFsrFlagsInitialization flags.
maxRenderSizeHeightThe maximum height that rendering will be performed at.
maxRenderSizeWidthThe maximum width that rendering will be performed at.

Methods

Method

Description

GetFlagHelper function. Identifies whether an initialization flag is set or unset. See Also: FfxFsr2InitializationFlags.
SetFlagHelper function. Controls the initialization feature flags set. See Also: FfxFsr2InitializationFlags.