Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

UnityEngine.AMDModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A module that contains API you can use to interact with AMD graphics cards.

To activate this module at runtime, call AMD.Plugins.LoadPlugin with the AMD.Plugins.Plugin.AMDUnityPlugin value during application startup.

Classes

Class Description
AMDUnityPluginProvides methods to manage loading and unloading AMD module plugins.
FSR2ContextProvides the persistent context for managing FSR2 initialization and per-frame execution state.
FSRUpscalerContextProvides the persistent context for managing FSR3 or FSR4 initialization and per-frame execution state.
GraphicsDeviceProvides the main entry point for the AMD Module. Use this to interact with the FSR2, FSR3, and FSR4 features.

Structs

Struct Description
FSR2CommandExecutionData Represents the data needed to execute FSR2, FSR3, or FSR4 upscaling. If you call GraphicsDevice.ExecuteFSRUpscale2, GraphicsDevice.ExecuteFSRUpscale3, or GraphicsDevice.ExecuteFSRUpscale4, Unity sends the values in this struct to the runtime. After that, you can change the values in this struct without any side effects.
FSR2CommandInitializationDataRepresents the initialization state of a FSR2Context. You can only use and set this when calling GraphicsDevice.CreateFSRUpscale2.
FSR2TextureTable The set of texture slots available for the FSR2Context and FSRUpscalerContext.
FSRUpscalerCommandInitializationData Represents the initialization state of a FSRUpscalerContext. You can only use and set this when calling GraphicsDevice.CreateFSRUpscale3 or GraphicsDevice.CreateFSRUpscale4.

Enumerations

Enumeration Description
FfxApiCreateContextUpscaleFlagsOptions that represent subfeatures of FSR3 or FSR4.
FfxFsr2InitializationFlagsOptions that represent subfeatures of FSR2.
FSR2QualityOptions for FSR2 quality modes.
FSR3QualityOptions that determine the scaling ratio between input resolution and output resolution.
FSR4QualityOptions that determine the scaling ratio between input resolution and output resolution.
GraphicsDeviceFeature AMD features that this plugin provides.