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 5 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.
GraphicsDeviceProvides the main entry point for the AMD Module. Use this to interact with the FSR2 feature.

Structs

Struct

Description

FSR2CommandExecutionDataRepresents the state of an FSR2Context. If you call Device.ExecuteFSR2, Unity sends the values in this struct to the runtime. After this, 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.CreateFeature.
FSR2TextureTableThe set of texture slots available for the FSR2Context. SA GraphicsDevice.ExecuteFSR2.

Enums

Enum

Description

FfxFsr2InitializationFlagsOptions that represent subfeatures of FSR2.
FSR2QualityOptions for FSR2 performance modes.