Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


D3D12DeviceFilterLists

Set of parameters used to define a Windows device or group of Windows devices.
Read time 4 minutesLast updated 2 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
  • Inherits from: Object
[HelpURL("d3d12-device-filter-list-asset-reference")]public sealed class D3D12DeviceFilterLists : Object

Remarks

Specify a list of parameters to identify a Windows device or set of Windows 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

D3D12DeviceFilterLists(System.String)Create a D3D12DeviceFilterLists.

Properties

Property

Description

d3D12DeviceAllowFiltersSpecifies 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.
d3D12DeviceDenyFiltersSpecifies a list of D3D12DeviceFilterData parameters to restrict Windows devices from using D3D12 API when running Unity applications. This API is only available in the Unity Editor. The list is immutable at runtime.
d3D12GraphicsJobsDeviceFiltersSpecifies a list of D3D12GraphicsJobsDeviceFilterData parameters to indicate which Graphics Jobs mode the Windows device should use running Unity applications with the D3D12 API. This API is only available in the Unity Editor. The list is immutable at runtime.

Methods

Method

Description

EnsureValidOrThrowEnsures all filters defined in d3D12DeviceDenyFilters, d3D12DeviceAllowFilters, and d3D12GraphicsJobsDeviceFilters are valid. This API is only available in the Unity Editor.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.