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.
| Class | Description |
|---|---|
| AMDUnityPlugin | Provides methods to manage loading and unloading AMD module plugins. |
| FSR2Context | Provides the persistent context for managing FSR2 initialization and per-frame execution state. |
| FSRUpscalerContext | Provides the persistent context for managing FSR3 or FSR4 initialization and per-frame execution state. |
| GraphicsDevice | Provides the main entry point for the AMD Module. Use this to interact with the FSR2, FSR3, and FSR4 features. |
| 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. |
| FSR2CommandInitializationData | Represents 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. |
| Enumeration | Description |
|---|---|
| FfxApiCreateContextUpscaleFlags | Options that represent subfeatures of FSR3 or FSR4. |
| FfxFsr2InitializationFlags | Options that represent subfeatures of FSR2. |
| FSR2Quality | Options for FSR2 quality modes. |
| FSR3Quality | Options that determine the scaling ratio between input resolution and output resolution. |
| FSR4Quality | Options that determine the scaling ratio between input resolution and output resolution. |
| GraphicsDeviceFeature | AMD features that this plugin provides. |