# ProfileDeviceFilter

> Represents a hardware profile for a specific Android device or group of devices.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.HardwareProfiles](/engine/6000.6/script-reference/unityeditor/hardwareprofiles.md)
* **Assembly:** UnityEditor.CoreModule
* **Inherits from:** [SpecificHardwareDescription](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/specifichardwaredescription.md)

```csharp
public class ProfileDeviceFilter : SpecificHardwareDescription
```

## Remarks

A profile device filter targets specific devices by GPU vendor, GPU model, device brand, and product codename. Create instances with [ProfileDatabase.CreateFilter](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledatabase/createfilter.md). When a device matches the filter criteria, Unity applies the profile's workaround, graphics API, and graphics jobs settings instead of the [DefaultDeviceFilter](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/defaultdevicefilter.md) settings.

The filter parameters support regular expressions for flexible device matching. For example, `"((G|g)oogle)"` matches the Google brand regardless of capitalization, and `"(oriole|raven|bluejay)"` matches multiple product codenames.

For more information, refer to [Device filter hardware profile settings](/engine/6000.6/manual/platform-specific/android/developing/graphics/vulkan-hardware-profiles/device-filters.md).

## Constructors

| Constructor                                                                                                                                                              | Description                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- |
| [ProfileDeviceFilter(System.String,System.String,System.String,System.String)](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/ctor.md) | Creates a ProfileDeviceFilter that targets devices matching the specified criteria. |

## Properties

| Property                                                                                                                                 | Description                                                             |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [RequiredAndroidOsVersion](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/requiredandroidosversion.md) | The required Android OS version for devices that match this profile.    |
| [RequiredDriverVersion](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/requireddriverversion.md)       | The required Vulkan driver version for devices that match this profile. |
| [RequiredVulkanVersion](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/requiredvulkanversion.md)       | The required Vulkan API version for devices that match this profile.    |

## Methods

| Method                                                                                                                                     | Description                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
| [DisableAllWorkarounds](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/disableallworkarounds.md)         | Disables all defined driver workarounds for this profile.               |
| [SetGraphicsAPI](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/setgraphicsapi.md)                       | Sets the graphics API to use on devices that match this profile.        |
| [SetGraphicsJobsFilterMode](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/setgraphicsjobsfiltermode.md) | Sets the graphics jobs filter mode for devices that match this profile. |
| [SetWorkaround](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/setworkaround.md)                         | Sets the state of a specific driver workaround for this profile.        |
