Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DefaultDeviceFilter

Represents the default hardware profile that applies to all Android devices that don't match a specific ProfileDeviceFilter.
Read time 1 minuteLast updated 6 days ago

Definition

public class DefaultDeviceFilter : GenericHardwareDescription

Remarks

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.

Constructors

Constructor

Description

DefaultDeviceFilter()Creates a DefaultDeviceFilter with empty version strings, default graphics API, and no workaround overrides.

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.

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.