Documentation

Unity Engine

Download Unity

Unity Engine

UnityEngine.AMDModule

A module that contains API you can use to interact with AMD graphics cards.
Read time 1 minuteLast updated 3 hours ago

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

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

FSR2CommandExecutionDataRepresents 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.
FSR2TextureTableThe set of texture slots available for the FSR2Context and FSRUpscalerContext.
FSRUpscalerCommandInitializationDataRepresents the initialization state of a FSRUpscalerContext. You can only use and set this when calling GraphicsDevice.CreateFSRUpscale3 or GraphicsDevice.CreateFSRUpscale4.

Enums

Enum

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.
GraphicsDeviceFeatureAMD features that this plugin provides.