# GetFlag(DLSSFeatureFlags)

> Helper function. Gets whether a DLSS feature is set or unset.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.NVIDIA](/engine/6000.7/script-reference/unityengine/nvidia.md)
* **Assembly:** UnityEngine.NVIDIAModule

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

### Parameters

**** (\[DLSSFeatureFlags]\(/engine/6000.7/script-reference/unityengine/nvidia/dlssfeatureflags)): 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. |

### Remarks

Additional Resources: [DLSSFeatureFlags](/engine/6000.7/script-reference/unityengine/nvidia/dlssfeatureflags.md)
