# WebGPUComparator

> The comparison operator to be used.

## Definition

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

```csharp
public enum WebGPUComparator
```

## Remarks

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

## Fields

| Value                                                                                                        | Description                                                                              |
| ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| [EqualTo](/engine/6000.6/script-reference/unityengine/webgpucomparator/equalto.md)                           | The operator tests if two values are equal.                                              |
| [GreaterThan](/engine/6000.6/script-reference/unityengine/webgpucomparator/greaterthan.md)                   | The operator tests if a specified value is greater than the reference value.             |
| [GreaterThanOrEqualTo](/engine/6000.6/script-reference/unityengine/webgpucomparator/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/webgpucomparator/lessthan.md)                         | The operator tests if a specified value is less than the reference value.                |
| [LessThanOrEqualTo](/engine/6000.6/script-reference/unityengine/webgpucomparator/lessthanorequalto.md)       | The operator tests if a specified value is less than or equal to the reference value.    |
| [None](/engine/6000.6/script-reference/unityengine/webgpucomparator/none.md)                                 | No comparison operator is specified.                                                     |
| [NotEqualTo](/engine/6000.6/script-reference/unityengine/webgpucomparator/notequalto.md)                     | The operator tests if two values are not equal.                                          |
