Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

DefaultDeviceFilter

class in UnityEditor.HardwareProfiles

/

Inherits from:HardwareProfiles.GenericHardwareDescription

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represents the default hardware profile that applies to all Android devices that don't match a specific ProfileDeviceFilter.

The default device filter defines baseline settings for all devices. Devices that don't match any ProfileDeviceFilter created via ProfileDatabase.CreateFilter use these settings. Retrieve the default filter with ProfileDatabase.GetDefaultFilter.

Use this class to set minimum version requirements, configure the graphics API, and manage driver workarounds for unmatched devices.

For more information, refer to Vulkan hardware profiles.

Properties

Property Description
MinAndroidOsVersionThe minimum Android OS version required for devices that use this default filter.
MinDriverVersionThe minimum Vulkan driver version required for devices that use this default filter.
MinVulkanVersionThe minimum Vulkan API version required for devices that use this default filter.

Constructors

Constructor Description
DefaultDeviceFilterCreates a DefaultDeviceFilter with empty version strings, default graphics API, and no workaround overrides.

Public Methods

Method Description
DisableAllWorkaroundsDisables all defined driver workarounds for this default filter.
SetGraphicsAPISets the graphics API to be used on devices that match the default filter.
SetWorkaroundSets the state of a specific driver workaround for this default filter.

Inherited Members