文档

Unity Engine

Unity Engine

D3D12Comparator

The comparison operator to be used.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

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.
NotEqualToThe operator tests if two values are not equal.