VulkanDeviceFilterLists
Set of parameters used to define an Android device or group of Android devices.
Read time 4 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Object
public sealed class VulkanDeviceFilterLists : Object
Remarks
Specify a list of parameters to identify an Android device or set of Android devices. Enter values for one or multiple parameters. The parameter values are processed using logical AND operation to check if the device properties match with all the specified values.
Unity ignores the filter if all parameters are empty.
Constructors
Constructor | Description |
|---|---|
| VulkanDeviceFilterLists(System.String) | Create a VulkanDeviceFilterLists. |
Properties
Property | Description |
|---|---|
| vulkanDeviceAllowFilters | Specifies a list of VulkanDeviceFilterData parameters to allow Android devices to always use Vulkan API when running Unity applications. This API is only available in the Unity Editor. The list is immutable at runtime. |
| vulkanDeviceDenyFilters | Specifies a list of VulkanDeviceFilterData parameters to restrict Android devices from using Vulkan API when running Unity applications. This API is only available in the Unity Editor. The list is immutable at runtime. |
| vulkanGraphicsJobsDeviceFilters | Specifies a list of VulkanGraphicsJobsDeviceFilterData parameters to indicate which Graphics Jobs mode the Android device should use running Unity applications with the Vulkan API. This API is only available in the Unity Editor. The list is immutable at runtime. |
Methods
Method | Description |
|---|---|
| EnsureValidOrThrow | Ensures all filters defined in vulkanDeviceDenyFilters, vulkanDeviceAllowFilters, and vulkanGraphicsJobsDeviceFilters are valid. This API is only available in the Unity Editor. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |