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.
読み終わるまでの所要時間 1 分最終更新 25日前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public VulkanDeviceFilterData[] vulkanDeviceAllowFilters { get; set; }
Remarks
Each parameter value in each VulkanDeviceFilterData entry is processed using logical AND operation to determine if the device matches the specified filter. The device is allowed to use Vulkan if its VulkanDeviceFilterData.vulkanApiVersionString and VulkanDeviceFilterData.driverVersionString values are greater than or equal to the specified filter values, and it meets the other specified filter values.
If you enter the same values in the and vulkanDeviceDenyFilters lists, Unity ignores the filter.
VulkanDeviceFilterData.vulkanDeviceAllowFilters