# GetFlag(FfxFsr2InitializationFlags)

> Helper function. Identifies whether an initialization flag is set or unset. See Also: FfxFsr2InitializationFlags.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AMD](/engine/6000.5/script-reference/unityengine/amd.md)
* **Assembly:** UnityEngine.AMDModule

```csharp
public bool GetFlag(FfxFsr2InitializationFlags flag)
```

### Parameters

**** (\[FfxFsr2InitializationFlags]\(/engine/6000.5/script-reference/unityengine/amd/ffxfsr2initializationflags)): The feature flag to get the state from.

### Returns

| Type                                                          | Description                                          |
| ------------------------------------------------------------- | ---------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Indicates whether the feature state is set or unset. |
