---
title: UnityEngine.AMDModule
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-amdmodule
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-amdmodule.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:29:16.942Z
locale: en-us
---

# UnityEngine.AMDModule

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

## Definition

* **Type:** Module

## Remarks

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

## Classes

| Class                                                                                       | Description                                                                                                    |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| [AMDUnityPlugin](/engine/7000.0/script-reference/unityengine/amd/amdunityplugin.md)         | Provides methods to manage loading and unloading AMD module plugins.                                           |
| [FSR2Context](/engine/7000.0/script-reference/unityengine/amd/fsr2context.md)               | Provides the persistent context for managing FSR2 initialization and per-frame execution state.                |
| [FSRUpscalerContext](/engine/7000.0/script-reference/unityengine/amd/fsrupscalercontext.md) | Provides the persistent context for managing FSR3 or FSR4 initialization and per-frame execution state.        |
| [GraphicsDevice](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice.md)         | Provides the main entry point for the AMD Module. Use this to interact with the FSR2, FSR3, and FSR4 features. |

## Structs

| Struct                                                                                                                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [FSR2CommandExecutionData](/engine/7000.0/script-reference/unityengine/amd/fsr2commandexecutiondata.md)                         | Represents the data needed to execute FSR2, FSR3, or FSR4 upscaling. If you call [GraphicsDevice.ExecuteFSRUpscale2](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/executefsrupscale2.md), [GraphicsDevice.ExecuteFSRUpscale3](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/executefsrupscale3.md), or [GraphicsDevice.ExecuteFSRUpscale4](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/executefsrupscale4.md), 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](/engine/7000.0/script-reference/unityengine/amd/fsr2commandinitializationdata.md)               | Represents the initialization state of a [FSR2Context](/engine/7000.0/script-reference/unityengine/amd/fsr2context.md). You can only use and set this when calling [GraphicsDevice.CreateFSRUpscale2](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/createfsrupscale2.md).                                                                                                                                                                                                                                                                                                               |
| [FSR2TextureTable](/engine/7000.0/script-reference/unityengine/amd/fsr2texturetable.md)                                         | The set of texture slots available for the [FSR2Context](/engine/7000.0/script-reference/unityengine/amd/fsr2context.md) and [FSRUpscalerContext](/engine/7000.0/script-reference/unityengine/amd/fsrupscalercontext.md).                                                                                                                                                                                                                                                                                                                                                                                 |
| [FSRUpscalerCommandInitializationData](/engine/7000.0/script-reference/unityengine/amd/fsrupscalercommandinitializationdata.md) | Represents the initialization state of a [FSRUpscalerContext](/engine/7000.0/script-reference/unityengine/amd/fsrupscalercontext.md). You can only use and set this when calling [GraphicsDevice.CreateFSRUpscale3](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/createfsrupscale3.md) or [GraphicsDevice.CreateFSRUpscale4](/engine/7000.0/script-reference/unityengine/amd/graphicsdevice/createfsrupscale4.md).                                                                                                                                                                      |

## Enums

| Enum                                                                                                                  | Description                                                                              |
| --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [FfxApiCreateContextUpscaleFlags](/engine/7000.0/script-reference/unityengine/amd/ffxapicreatecontextupscaleflags.md) | Options that represent subfeatures of FSR3 or FSR4.                                      |
| [FfxFsr2InitializationFlags](/engine/7000.0/script-reference/unityengine/amd/ffxfsr2initializationflags.md)           | Options that represent subfeatures of FSR2.                                              |
| [FSR2Quality](/engine/7000.0/script-reference/unityengine/amd/fsr2quality.md)                                         | Options for FSR2 quality modes.                                                          |
| [FSR3Quality](/engine/7000.0/script-reference/unityengine/amd/fsr3quality.md)                                         | Options that determine the scaling ratio between input resolution and output resolution. |
| [FSR4Quality](/engine/7000.0/script-reference/unityengine/amd/fsr4quality.md)                                         | Options that determine the scaling ratio between input resolution and output resolution. |
| [GraphicsDeviceFeature](/engine/7000.0/script-reference/unityengine/amd/graphicsdevicefeature.md)                     | AMD features that this plugin provides.                                                  |
