# D3D12Comparator

> The comparison operator to be used.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum D3D12Comparator
```

## Remarks

Specifies, which comparison operator to use when testing values against each other.

## Fields

| Value                                                                                                       | Description                                                                              |
| ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [EqualTo](/engine/6000.6/script-reference/unityengine/d3d12comparator/equalto.md)                           | The operator tests if two values are equal.                                              |
| [GreaterThan](/engine/6000.6/script-reference/unityengine/d3d12comparator/greaterthan.md)                   | The operator tests if a specified value is greater than the reference value.             |
| [GreaterThanOrEqualTo](/engine/6000.6/script-reference/unityengine/d3d12comparator/greaterthanorequalto.md) | The operator tests if a specified value is greater than or equal to the reference value. |
| [LessThan](/engine/6000.6/script-reference/unityengine/d3d12comparator/lessthan.md)                         | The operator tests if a specified value is less than the reference value.                |
| [LessThanOrEqualTo](/engine/6000.6/script-reference/unityengine/d3d12comparator/lessthanorequalto.md)       | The operator tests if a specified value is less than or equal to the reference value.    |
| [NotEqualTo](/engine/6000.6/script-reference/unityengine/d3d12comparator/notequalto.md)                     | The operator tests if two values are not equal.                                          |
