# SetFlag(FfxApiCreateContextUpscaleFlags, bool)

> Set a bitflag of _ffxFsrFlags.

## Definition

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

```csharp
public void SetFlag(FfxApiCreateContextUpscaleFlags flag, bool value)
```

### Parameters

**** (\[FfxApiCreateContextUpscaleFlags]\(/engine/6000.7/script-reference/unityengine/amd/ffxapicreatecontextupscaleflags)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
