Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WebGPUComparator

The comparison operator to be used.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum WebGPUComparator

Remarks

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

Fields

Value

Description

EqualToThe operator tests if two values are equal.
GreaterThanThe operator tests if a specified value is greater than the reference value.
GreaterThanOrEqualToThe operator tests if a specified value is greater than or equal to the reference value.
LessThanThe operator tests if a specified value is less than the reference value.
LessThanOrEqualToThe operator tests if a specified value is less than or equal to the reference value.
NoneNo comparison operator is specified.
NotEqualToThe operator tests if two values are not equal.