Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

D3D12DeviceFilterLists.d3D12DeviceAllowFilters

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

public D3D12DeviceFilterData[] d3D12DeviceAllowFilters;

Description

Specifies a list of D3D12DeviceFilterData parameters to allow Windows devices to always use D3D12 API when running Unity applications. This API is only available in the Unity Editor. The list is immutable at runtime.

Each parameter value in each D3D12DeviceFilterData entry is processed using logical AND operation to determine if the device matches the specified filter. The device is allowed to use D3D12 if its D3D12DeviceFilterData.driverVersion, D3D12DeviceFilterData.featureLevel, D3D12DeviceFilterData.graphicsMemory, and D3D12DeviceFilterData.processorCount values compared with the corresponding comparison operators to the the specified filter values, and it meets the other specified filter values.

If you enter the same values in the D3D12DeviceFilterData.d3D12DeviceAllowFilters and D3D12DeviceFilterData.d3D12DeviceDenyFilters lists, Unity ignores the filter.